/* General Body Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: #fff;
    color: #333;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #007bff;
}

/* Hero Video Styles */
.hero-video {
    position: relative;
    width: 100vw;
    height: 70vh;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-overlay h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-overlay p {
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Main Content Styles */
main {
    padding: 2rem 0;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.content-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    scroll-margin-top: 5rem; /* Adjust this value based on your header's height */
}

.content-box.reverse {
    flex-direction: row-reverse;
}

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

.content-box img {
    width: 50%;
    aspect-ratio: 1.5;
    object-fit: cover;
    flex-shrink: 0;
}

.content-box-text {
    padding: 1.5rem;
    flex: 1;
}

.content-box-text h3 {
    margin-top: 0;
}

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
}

footer p {
    margin: 0;
}

/* Responsive Navigation Styles */
.hamburger-menu {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Above the overlay */
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

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

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

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

.mobile-nav a {
    text-decoration: none;
    color: #333;
    font-size: 2rem;
    padding: 1rem;
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    /* 1. Mobile Navigation */
    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    /* 2. Hero Video */
    .hero-video {
        height: 50vh; /* Shorter height on mobile */
    }

    .hero-overlay h1 {
        font-size: 2.5rem; /* Smaller text on mobile */
    }

    .hero-overlay p {
        font-size: 1.2rem;
    }

    /* 3. Content Boxes */
    .content-box,
    .content-box.reverse {
        flex-direction: column; /* Stack vertically */
    }

    .content-box img {
        width: 100%; /* Image takes full width */
        aspect-ratio: 1.5; /* Consistent landscape aspect ratio */
    }

    /* 4. Layout & Spacing */
    main {
        padding: 1rem; /* Tighter padding */
    }
} 