/* ========================================
   Layer Lab Houston - Minimalist Luxury Design
   
   Design Philosophy:
   - Extreme whitespace with intentional focal points
   - Asymmetric layouts that guide the eye naturally
   - Precision typography hierarchy (serif headlines + sans-serif body)
   - Restrained color palette with strategic gold accents
   
   Color Palette:
   - Primary: Pure white (#FFFFFF) and off-white (#F8F7F5)
   - Accent: Warm gold (#D4AF37) for luxury perception
   - Supporting: Charcoal gray (#2C2C2C) for text
   ======================================== */

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2C2C2C;
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #B8941F;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.header.sticky {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo h1 {
    font-size: 1.5rem;
    color: #2C2C2C;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2C2C2C;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #D4AF37;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: #2C2C2C;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: white;
        padding: 2rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .nav-link::after {
        display: none;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    margin-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomInSlow 1.2s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 247, 245, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text {
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-headline {
    font-size: 3.5rem;
    color: #2C2C2C;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        margin-top: 60px;
        min-height: 80vh;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }
}

/* ========== CTA BUTTONS ========== */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid #D4AF37;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.cta-button.primary {
    background-color: #D4AF37;
    color: #FFFFFF;
}

.cta-button.primary:hover {
    background-color: #B8941F;
    border-color: #B8941F;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: #D4AF37;
}

.cta-button.secondary:hover {
    background-color: #D4AF37;
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2C2C2C;
    margin-bottom: 1.5rem;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: #D4AF37;
    margin: 0 auto;
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

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

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-text strong {
    color: #D4AF37;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.highlight {
    padding: 2rem;
    background-color: #F8F7F5;
    border-left: 3px solid #D4AF37;
    transition: all 0.3s ease;
}

.highlight:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.highlight h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.highlight p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 0;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: 6rem 0;
    background-color: #F8F7F5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 0;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.service-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
    border-color: #D4AF37;
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: #D4AF37;
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2C2C2C;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 0;
    }

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

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2C2C2C 0%, #3C3C3C 100%);
    text-align: center;
    color: #FFFFFF;
}

.cta-content h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: #E0E0E0;
    margin-bottom: 2rem;
}

.cta-section .cta-button {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* ========== GALLERY SECTION ========== */
.gallery {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.8) 0%, rgba(44, 44, 44, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay p {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .gallery {
        padding: 4rem 0;
    }

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

/* ========== CONTACT SECTION ========== */
.contact {
    padding: 6rem 0;
    background-color: #F8F7F5;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: #2C2C2C;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #DDD;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.contact-form button {
    align-self: flex-start;
    margin-top: 1rem;
}

.form-success {
    background-color: #E8F5E9;
    border-left: 4px solid #4CAF50;
    padding: 2rem;
    border-radius: 0;
    text-align: center;
}

.form-success h3 {
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #558B2F;
    margin: 0;
}

.contact-map {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    display: block;
}

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

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

    .contact-map {
        min-height: 300px;
    }
}

/* ========== FOOTER ========== */
.footer {
    background-color: #2C2C2C;
    color: #E0E0E0;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: #D4AF37;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #B0B0B0;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #D4AF37;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #E8C547;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomInSlow {
    from {
        transform: scale(1.05);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== SCROLL REVEAL ANIMATION ========== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .header,
    .footer,
    .cta-section {
        display: none;
    }
}
