/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0d1b2a;
    --dark-navy: #081420;
    --steel: #1b2838;
    --ocean: #1976d2;
    --ocean-light: #42a5f5;
    --accent: #ff6d00;
    --sand: #f4f6f8;
    --white: #ffffff;
    --gray: #5a6a7a;
    --light-gray: #e2e8f0;
    --text: #1a202c;
    --radius: 6px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* === Navigation === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 20, 32, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* === Hero === */
.hero, .page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, #081420 0%, #0d1b2a 25%, #1b3a5c 60%, #1976d2 100%);
}

.hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-image .hero-overlay {
    background: rgba(8, 20, 32, 0.6);
    opacity: 1;
}

.page-hero {
    min-height: 40vh;
    padding-top: 80px;
    background: linear-gradient(160deg, #081420 0%, #0d1b2a 40%, #1b3a5c 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.02)' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero p, .page-hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    opacity: 0.85;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: #e65100;
    border-color: #e65100;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* === Section Titles === */
.section-title {
    font-size: 2rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* === Homepage Video === */
.homepage-video {
    background: var(--dark-navy);
    padding: 4rem 0;
}

.homepage-video .container {
    display: flex;
    justify-content: center;
}

.homepage-video video {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

/* === Features / Cards === */
.features, .values, .specs {
    padding: 5rem 0;
    background: var(--sand);
}

.values, .specs {
    text-align: center;
}

.values h2, .specs h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--navy);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition);
    border-top: 3px solid var(--ocean);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* === Services Overview === */
.services-overview {
    padding: 5rem 0;
    background: var(--white);
}

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

.service-item {
    padding: 2rem;
    border-left: 3px solid var(--accent);
    background: var(--sand);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.service-item h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* === CTA === */
.cta {
    padding: 5rem 0;
    text-align: center;
    background: var(--steel);
    color: var(--white);
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta p {
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* === About === */
.about-content {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    font-weight: 800;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-text ul {
    margin-top: 1rem;
    padding-left: 0;
}

.about-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.about-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* === Placeholder Images === */
.placeholder-image {
    background: linear-gradient(160deg, #0d1b2a, #1976d2);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cpath fill='rgba(255,255,255,0.05)' d='M0,150 Q100,100 200,150 T400,150 L400,300 L0,300 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.about-placeholder {
    min-height: 400px;
    position: sticky;
    top: 100px;
}

.about-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    top: 100px;
    margin-bottom:10px;
}

.about-placeholder span {
    font-size: 5rem;
    position: relative;
}

.gallery-placeholder {
    aspect-ratio: 4/3;
    width: 100%;
}

.gallery-placeholder span {
    font-size: 3rem;
    position: relative;
}

.gallery-placeholder small {
    position: relative;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* === Gallery === */
.gallery-section {
    padding: 4rem 0;
}

.gallery-intro {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.gallery-intro a {
    color: var(--ocean);
    font-weight: 600;
}

.gallery-intro a:hover {
    text-decoration: underline;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow);
}

.gallery-item:has(video) {
    cursor: default;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
}

/* === Lightbox === */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

.lightbox-content {
    text-align: center;
    max-width: 90vw;
}

.lightbox-image {
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* === Contact === */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray);
}

.contact-item a {
    color: var(--ocean);
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--ocean-light);
}

.contact-form {
    background: var(--sand);
    padding: 2.5rem;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--ocean);
}

.form-note {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray);
    text-align: center;
}

/* === Footer === */
footer {
    background: var(--dark-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 2rem;
}

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

.footer-info strong {
    color: var(--white);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

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

.footer-social a {
    color: var(--ocean-light);
    font-weight: 600;
    transition: color var(--transition);
}

.footer-social a:hover {
    color: var(--white);
}

.footer-copy {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-navy);
        flex-direction: column;
        padding: 1rem 2rem 2rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

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