/* ================================
   CSS Variables & Reset
================================ */
:root {
    --navy: #0a1628;
    --navy-light: #1a2d4a;
    --navy-mid: #122035;
    --yellow: #ffd200;
    --yellow-dark: #e6bd00;
    --yellow-light: #ffe44d;
    --white: #ffffff;
    --gray-100: #f4f6f8;
    --gray-200: #e2e6eb;
    --gray-400: #6b7280;
    --gray-500: #4b5563;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 12px rgba(10, 22, 40, 0.15);
    --shadow-lg: 0 12px 24px rgba(10, 22, 40, 0.2);
    --radius: 4px;
    --radius-lg: 8px;
    --transition: all 0.2s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--navy);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   Typography
================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.25rem;
    font-family: 'Barlow', sans-serif;
    text-transform: none;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    background: var(--yellow);
    padding: 6px 14px;
    border-radius: 2px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1rem;
    margin-top: 12px;
}

/* ================================
   Buttons
================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--yellow);
    color: var(--navy);
    border-color: var(--yellow);
}

.btn-primary:hover {
    background: var(--yellow-light);
    border-color: var(--yellow-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-secondary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ================================
   Navigation
================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--yellow);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
}

.nav-cta:hover {
    background: var(--yellow-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ================================
   Hero Section
================================ */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 120px 20px 80px;
    max-width: 1140px;
    margin: 0 auto;
    min-height: 100vh;
}

.hero-bg {
    display: none;
}

.hero-content {
    padding-right: 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--yellow);
    color: var(--navy);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--navy);
}

.hero p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 24px;
    border-top: 2px solid var(--gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    border: 4px solid var(--yellow);
}

/* ================================
   Services Section
================================ */
.services {
    padding: 80px 0;
    background: var(--navy);
}

.services .section-header h2,
.services .section-header p {
    color: var(--white);
}

.services .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

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

.service-card {
    background: var(--navy-light);
    padding: 28px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--yellow);
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
}

/* ================================
   About Section
================================ */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--navy);
}

.about-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--yellow);
    color: var(--navy);
    padding: 12px 20px;
    border-radius: var(--radius);
}

.badge-text {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--gray-500);
    margin-bottom: 16px;
}

.about-features {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--navy);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--yellow);
    border-radius: 2px;
    flex-shrink: 0;
}

.feature-icon::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid var(--navy);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
}

/* ================================
   Gallery Section
================================ */
.gallery {
    padding: 80px 0;
    background: var(--gray-100);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid var(--navy);
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.9));
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ================================
   Reviews Section
================================ */
.reviews {
    padding: 80px 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--gray-100);
    padding: 28px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--yellow);
}

.review-card.featured {
    background: var(--navy);
    color: var(--white);
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.review-stars .star {
    width: 16px;
    height: 16px;
    background: var(--yellow);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.review-text {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--navy);
}

.review-card.featured .review-text {
    color: rgba(255, 255, 255, 0.9);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
}

.review-card.featured .author-avatar {
    background: var(--yellow);
    color: var(--navy);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.author-source {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.review-card.featured .author-source {
    color: rgba(255, 255, 255, 0.8);
}

.reviews-cta {
    text-align: center;
}

/* ================================
   Contact Section
================================ */
.contact {
    padding: 80px 0;
    background: var(--yellow);
    color: var(--navy);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    color: var(--navy);
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--navy);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 12px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-text strong {
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
}

.contact-text span,
.contact-text a {
    color: var(--navy);
    font-size: 0.9375rem;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact .btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.contact .btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 350px;
    border: 3px solid var(--navy);
}

.contact-map iframe {
    display: block;
}

/* ================================
   Footer
================================ */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--yellow);
    font-size: 0.8125rem;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-contact p {
    font-size: 0.875rem;
    margin-bottom: 6px;
}

.footer-contact a:hover {
    color: var(--yellow);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.8125rem;
}

/* ================================
   Responsive Design
================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 100px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        margin: 0 auto;
        max-width: 500px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-badge {
        right: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-cta {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item-large {
        grid-row: span 1;
    }

    .gallery-item {
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .section-header {
        margin-bottom: 40px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .contact-map {
        min-height: 280px;
    }
    
    .nav-menu.active .nav-link {
        color: rgba(255, 255, 255, 0.8);
    }
    
    .nav-menu.active .nav-link:hover {
        color: var(--yellow);
    }
}