
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/** Variables **/

:root {
  --color-background: #cbd5e1;
  --color-background-alt: #8ec6ff;
  --color-border-active: #173db6;
  --color-border-default: #94a3b8;
  --color-highlight: #8ec6ff;
  --color-primary: #144be1;
  --color-primary-active: #19388f;
  --color-text-default: #0f172a;
  --color-text-muted: #475569;

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    -webkit-text-size-adjust: 100%; /* Prevents iOS text scaling */
    -ms-text-size-adjust: 100%; /* Prevents Windows Phone text scaling */
}

a {
    text-decoration: none;
    color: #007BFF;
}

h1, h2, h3 {
    margin-bottom: 10px;
    color: #222;
}

p {
    margin-bottom: 15px;
}

/* Header */
header {
    background-color: #0d1b2a;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
}

/* Navigation */
nav {
    background-color: #1b263b;
    display: flex;
    justify-content: center;
    padding: 10px;
}

nav a {
    color: #fff;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff6600;
}

/* Hero Section */
.hero {
    background: url('assets/fortified-virtual-guard-trailer.png') center/cover no-repeat;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: auto;
}

/* Sections */
section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
}

.services, .trailers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Form */
form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

form button {
    background-color: #007BFF;
    color: #fff;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
    min-height: 44px; /* iOS recommended touch target size */
    width: 100%;
    max-width: 300px;
}

form button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #0d1b2a;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

/* Enhanced Virtual Guard System Styles */
.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.section-hero-image {
    text-align: center;
    margin: 20px 0;
}

.features-list {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.feature-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 0.9em;
    color: #555;
}

.feature-icon {
    font-size: 1.2em;
    margin-right: 10px;
    width: 25px;
}

.tech-showcase {
    margin-top: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    text-align: center;
}

.tech-showcase h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #0d1b2a;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.tech-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.tech-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.tech-item h4 {
    color: #0d1b2a;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.tech-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Enhanced card hover effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Header adjustments */
    header {
        padding: 20px 15px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    header p {
        font-size: 1em;
    }
    
    header img {
        height: 50px !important;
    }
    
    /* Navigation adjustments */
    nav {
        flex-direction: column;
        padding: 15px;
    }
    
    nav a {
        margin: 5px 0;
        padding: 10px;
        text-align: center;
        border-radius: 5px;
        background-color: rgba(255,255,255,0.1);
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 40px 15px;
    }
    
    .hero h2 {
        font-size: 1.5em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    /* Section adjustments */
    section {
        padding: 30px 15px;
    }
    
    .section-title h2 {
        font-size: 1.8em;
    }
    
    .section-subtitle {
        font-size: 1em;
    }
    
    /* Grid adjustments */
    .services, .trailers {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Card adjustments */
    .card {
        padding: 15px;
    }
    
    .card h3 {
        font-size: 1.2em;
    }
    
    .card p {
        font-size: 0.9em;
    }
    
    /* Image adjustments */
    .section-hero-image img {
        max-width: 90% !important;
    }
    
    .card img {
        height: auto;
        max-height: 200px;
        object-fit: cover;
    }
    
    /* Features list adjustments */
    .feature-item {
        font-size: 0.85em;
    }
    
    .feature-icon {
        font-size: 1em;
    }
    
    /* Tech showcase adjustments */
    .tech-showcase {
        margin-top: 20px;
        padding: 20px 15px;
    }
    
    .tech-showcase h3 {
        font-size: 1.5em;
    }
    
    .tech-item {
        padding: 20px;
    }
    
    .tech-item h4 {
        font-size: 1.1em;
    }
    
    .tech-item p {
        font-size: 0.9em;
    }
    
    /* Form adjustments */
    form {
        padding: 20px 15px;
    }
    
    form input, form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer adjustments */
    footer {
        padding: 20px 15px;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }
    
    .hero h2 {
        font-size: 1.3em;
    }
    
    .section-title h2 {
        font-size: 1.5em;
    }
    
    .tech-showcase h3 {
        font-size: 1.3em;
    }
    
    .card {
        padding: 12px;
    }
    
    .tech-item {
        padding: 15px;
    }
}

/* Landscape orientation improvements */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 30px 15px;
    }
    
    section {
        padding: 25px 15px;
    }
}
