/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Takeoff Concepts Color Palette - Logo Colors Only */
    --navy: #2d4a5e;
    --grey: #666666;
    --black: #000000;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Asap', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: static;
    background: var(--white);
    box-shadow: none;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: none;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: var(--black);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--black);
    color: var(--white);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Main Content */
.main-content {
    margin-top: 0;
    position: relative;
    padding-top: 0;
}

/* Hero Section */
.hero-section {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-bottom: 10rem;
    background: var(--white);
    position: relative;
}

.hero-logo {
    height: 16.67vh;
    max-height: 16.67vh;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 0;
}

.hero-tagline {
    color: var(--black);
    font-family: 'Asap', sans-serif;
    font-size: 1.6875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: none;
    margin: 0;
}

/* Footer */
.footer {
    width: 100%;
    background: var(--black);
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    color: var(--white);
    font-family: 'Asap', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: none;
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    width: 100%;
    min-height: 100vh;
    padding: 4rem 2rem;
    background: var(--white);
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--black);
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: var(--grey);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.gallery-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-info {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 8px 8px;
}

.lightbox-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.lightbox-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 2rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
}


/* Hero Image Section */
.hero-image-section {
    width: 100%;
    min-height: 100vh;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

.keyboard-hero-image {
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.keyboard-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Contact Section */
.contact-section {
    background: var(--grey);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.contact-section .container {
    max-width: 800px;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    text-align: center;
}

.contact-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 3rem;
    text-align: center;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Asap', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--navy);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}


/* Responsive Design */
@media (max-width: 968px) {
    .header-wrapper {
        padding: 0.5rem 0;
    }

    .logo-img {
        height: 48px;
    }

    .header {
        padding: 0;
    }

    .main-content {
        margin-top: 0;
    }

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

    .gallery-title {
        font-size: 2rem;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-title {
        font-size: 1.25rem;
    }

    .lightbox-description {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-section {
        padding: 4rem 0;
    }
}

@media (max-width: 640px) {
    .logo-img {
        height: 40px;
    }

    .header-wrapper {
        padding: 0.5rem 0;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .gallery-section {
        padding: 2rem 1rem;
    }

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

    .gallery-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-info {
        padding: 1rem;
    }

    .lightbox-title {
        font-size: 1.125rem;
    }

    .lightbox-description {
        font-size: 0.8125rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-section {
        padding: 3rem 0;
    }

    .contact-subtitle {
        margin-bottom: 2rem;
    }
}
