/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger:focus {
    outline: none;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s linear;
}

/* Show hamburger on small screens */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links,
    .nav-buttons {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 70px;
        left: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 1rem 2rem;
        z-index: 1000;
    }
    .nav-links.active,
    .nav-buttons.active {
        display: flex;
    }
}
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: 70px;
}

/* Header styles */
header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

header.header-scrolled {
    width: 80%;
    margin: 0 auto;
    right: 0;
    left: 0;
    border-radius: 0 0 15px 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;         /* Lays out image and text in a row */
    align-items: center;   /* Vertically centers the image and the text "INNOPILOT" */
    gap: 1rem;           /* Adds space between the image and text (e.g., about 10px, adjust as needed) */
    font-size: 1.5rem;     /* Styles the "INNOPILOT" text */
    font-weight: bold;     /* Styles the "INNOPILOT" text */
    color: #2c3e50;        /* Styles the "INNOPILOT" text */
    text-decoration: none; /* Good practice in case you make the logo a link */
}

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

.nav-links a {
    text-decoration: none;
    color: #3d556d;
    font-weight: 500;
    padding: 7px;
    border-radius: 3px;
    display: inline-block;
}

.nav-links a:hover {
    background-color: rgba(220, 215, 215, 0.753);
    color: #2c3e50;
    transition-duration: 300ms;
    transition-timing-function: linear;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

button {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.sign-in-btn {
    background: white;
    color: #2c3e50;
    border: 1px solid #6f7172b2;
}

.sign-in-btn:hover {
    border-color: #283745;
    transition-duration: 400ms;
    transition-timing-function: linear;
}

.download-btn {
    background: #2c3e50;
    color: white;
}

/* Hero section */
.hero {
    min-height: 150vh;
    --gradient-size: 200%;
    background: linear-gradient(
        135deg, 
        #6c5ce7, 
        #4A4A4A, 
        #F37021,
        #6c5ce7
    );
    background-size: var(--gradient-size) var(--gradient-size);
    animation: gradientBG 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    align-self: auto;
    padding-top: 2rem;
}

.hero-content {
    width: 80%;
    padding: 2rem;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

.primary-btn {
    background: white;
    color: #2c3e50;
    padding: 0.75rem 2rem;
    outline: 2px solid rgba(255, 255, 255, 0.316);
    outline-offset: 3px;
    display: inline-flex;
    align-content: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.primary-btn .icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    display: flex;
    align-self: center;
}

.primary-btn .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.primary-btn:hover {
    outline-color: rgba(255, 255, 255, 0.922);
    transition-duration: 400ms;
}

.secondary-btn {
    background: #2c3e50;
    color: white;
    padding: 0.75rem 2rem;
    outline: 2px solid rgba(255, 255, 255, 0.316);
    outline-offset: 3px;
    align-content: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.secondary-btn:hover {  
    outline-color: rgba(255, 255, 255, 0.921);
    transition-duration: 400ms;
}

/* Media section */
.media-section {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 0;
    
}

.media-section h2 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.media-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.media-placeholder {
    background: linear-gradient(
        135deg, 
        #6c5ce7, 
        #4A4A4A, 
        #F37021,
        #6c5ce7
    );
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.12);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 80%;
    padding-top: 72px;
}

.media-placeholder img {
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.15);
}

.media-placeholder video {
    width: 80%;
    height: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.15);
    align-self: flex-end;
}

/* Footer styles */
footer {
    background: #c6ccd3df;
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-logo {
    padding-top: 10px;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
}

/* Gradient animation */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .nav-links a {
        font-size: 1.2rem;
    }
    .logo {
        font-size: 1.2rem;
        gap: 0.5rem;
    }
    .hero {
        min-height: 100vh;
        --gradient-size: 150%;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.5rem;
    }
    .nav-links {
        gap: 0.5rem;
    }
    .nav-links a {
        font-size: 1rem;
    }
    .logo {
        font-size: 1rem;
    }
    .hero {
        min-height: 80vh;
        --gradient-size: 120%;
    }
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger:focus {
    outline: none;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s linear;
}

/* Show hamburger on small screens */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links,
    .nav-buttons {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 70px;
        left: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 1rem 2rem;
        z-index: 1000;
    }
    .nav-links.active,
    .nav-buttons.active {
        display: flex;
    }
}
