* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0a0a;
    --primary-light: #f8f8f8;
    --accent-steel: #4a5568;
    --accent-blue: #5a7c99;
    --accent-light-blue: #8fa8c0;
    --off-white: #fafafa;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--off-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Hero Section with Fade-In Animation */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f5f5;
}

/* Desktop Background Image (DEFAULT) */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-background.png') no-repeat center center;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    animation: fadeInBackground 2s ease-out forwards;
    z-index: 1;
}
/* MOBILE SPECIFIC - Image auto-sizes, no gaps */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
    }
    
    .hero-section {
        min-height: 0;
        height: auto;
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
        width: 100vw;
        background: white;  /* Match the info section background */
    }
    
    .hero-section::before {
        background-image: url('../images/hero-background-mobile.png');
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: top center;
        position: relative;
        display: block;
        width: 100vw;
        padding-top: 60%;  /* This creates height based on width - adjust % to match your image ratio */
        content: '';
        margin: 0;
    }
    
    /* Hide the text logo */
    .hero-content {
        display: none;
    }
    
    /* Info section with zero gap */
    .info-section {
        margin-top: 0;
        padding: 20px;
        background: white;
    }
}

/* Tablet Portrait - Use Mobile Image */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-section::before {
        background-image: url('../images/hero-background-mobile.png');
        background-size: cover;
        background-position: center center;
    }
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 40px;
    background: transparent;
    opacity: 0;
    animation: fadeInScale 1.5s ease-out 1s forwards;
    width: 100%;
    max-width: 100%;
}

/* Mobile hero content positioning */
@media (max-width: 768px) {
    .hero-content {
        position: relative;
        padding: 30px 20px;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo Text */
.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(48px, 10vw, 92px);
    font-weight: 300;
    letter-spacing: 0px;
    color: var(--primary-dark);
    margin-bottom: 30px;
    line-height: 1;
}

/* Tagline - SPREAD TO MATCH LOGO WIDTH */
.tagline {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--primary-dark);
    font-weight: 500;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .tagline {
        font-size: 9px;
        letter-spacing: 0.28em;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease-out 3s forwards, bounce 2s infinite 4s;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 20px;
    }
}

.scroll-indicator::before {
    content: '↓';
    font-size: 24px;
    color: var(--accent-steel);
    opacity: 0.4;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    50% { 
        transform: translateX(-50%) translateY(10px); 
    }
}

/* Info Section */
.info-section {
    padding: 80px 20px;
    background: white;
    position: relative;
}

/* MOBILE - Remove the margin-top that was hiding content */
@media (max-width: 768px) {
    .info-section {
        margin-top: 0;
        padding: 60px 20px;
    }
}

.info-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.info-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 400;
    color: var(--primary-dark);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.info-container p {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.8;
    color: var(--accent-steel);
    font-weight: 300;
    margin-bottom: 20px;
}

/* Form Section */
.form-section {
    padding: 60px 20px;
    background: var(--off-white);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: clamp(30px, 5vw, 60px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.05);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.form-header p {
    color: var(--accent-steel);
    font-size: clamp(14px, 2vw, 15px);
    font-weight: 300;
}

/* Form Inputs */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-steel);
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    transition: all 0.3s ease;
    outline: none;
    color: var(--primary-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent-blue);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #c0c0c0;
    font-weight: 300;
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

/* Premium Button */
.submit-btn {
    width: 100%;
    padding: 18px;
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: white;
    background: var(--primary-dark);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.submit-btn:hover::after {
    width: 300px;
    height: 300px;
}

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

.spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: var(--off-white);
    color: var(--accent-steel);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    border-left: 3px solid var(--accent-blue);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.footer p {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent-steel);
    font-weight: 400;
}

/* Additional Mobile Fixes */
@media (max-width: 480px) {
    .form-container {
        box-shadow: none;
        border-top: 1px solid #e0e0e0;
    }
    
    .form-section {
        padding: 40px 15px;
    }
}
