/* hero section styles */

:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #B8860B;
    --light-gold: #FFD700;
    --text-dark: #1a1a1a;
    --text-medium: #555;
    --bg-cream: #faf8f5;
    --shadow-light: rgba(212, 175, 55, 0.1);
    --shadow-medium: rgba(212, 175, 55, 0.3);
    --border-light: rgba(212, 175, 55, 0.2);
}

/* Dark mode variables */
[data-theme="dark"] {
    --primary-gold: #F4D03F;
    --secondary-gold: #F7DC6F;
    --light-gold: #FCF3CF;
    --text-dark: #F8F9FA;
    --text-medium: #E5E5E5;
    --bg-cream: #1a1a1a;
    --shadow-light: rgba(244, 208, 63, 0.1);
    --shadow-medium: rgba(244, 208, 63, 0.3);
    --border-light: rgba(244, 208, 63, 0.2);
    --card-bg: rgba(42, 42, 42, 0.9);
    --text-on-card: #F8F9FA;
}

/* Form styling */
.form-select {
    background: var(--bg-cream);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    background: var(--bg-cream);
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px var(--shadow-light);
}

.saved-photo-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    color: var(--text-on-card);
    transition: all 0.3s ease;
}

.chevron-icon {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.terms-link {
    color: var(--primary-gold);
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: var(--secondary-gold);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #f5f2ed 100%);
    min-height: 100vh;
    color: var(--text-dark);
    position: relative;
    transition: all 0.3s ease;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, var(--bg-cream) 0%, #2c2c2c 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20px 20px, var(--shadow-light) 1px, transparent 0),
        radial-gradient(circle at 80px 80px, var(--shadow-light) 1px, transparent 0);
    background-size: 100px 100px, 160px 160px;
    pointer-events: none;
    z-index: -1;
    transition: all 0.3s ease;
}

/* Utilities */
.gradient-gold { 
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    transition: all 0.3s ease;
}

.text-gradient { 
    background: linear-gradient(135deg, var(--text-dark) 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

[data-theme="dark"] .text-gradient {
    background: linear-gradient(135deg, var(--text-dark) 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass { 
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    color: var(--text-on-card);
    transition: all 0.3s ease;
}

.shadow-gold { 
    box-shadow: 0 4px 15px var(--shadow-medium);
    transition: box-shadow 0.3s ease;
}

/* Hero Section */
.hero-section {
    padding: 2rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--bg-cream);
    transition: background-color 0.3s ease;
}

.partner-label {
    color: var(--secondary-gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

/* Buttons */
.btn-action {
    color: white !important;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
}

.btn-action:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

[data-theme="dark"] .btn-action:hover {
    box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4);
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--primary-gold) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-hero:hover::before { 
    opacity: 1; 
}

.btn-hero span { 
    position: relative; 
    z-index: 1;
    color: #1a1a1a; 
}

.btn-outline-primary {
    background: transparent !important;
    border: 2px solid var(--primary-gold) !important;
    color: var(--primary-gold) !important;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-gold) !important;
    color: white !important;
    border-color: var(--primary-gold) !important;
}

/* Images Grid */
.images-container {
    position: relative;
    height: 100%;
}

.images-container::before,
.images-container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    transition: all 0.3s ease;
}

.images-container::before {
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
}

.images-container::after {
    bottom: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--primary-gold) 100%);
}

.business-images {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 18px;
    height: 400px;
}

.business-images > div:first-child img {
    height: 420px;
}

.business-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    filter: brightness(1);
}

[data-theme="dark"] .business-images img {
    filter: brightness(0.9);
}

.business-images img:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: scale(1.02);
    filter: brightness(1.1);
}

[data-theme="dark"] .business-images img:hover {
    border-color: rgba(244, 208, 63, 0.4);
}

.stacked-images {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 440px;
}

.stacked-images > div {
    flex: 1;
}

.stacked-images img {
    height: 200px;
}

.container {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

/* ============================================
   RESPONSIVE DESIGN - OPTIMIZED FOR TABLETS
   ============================================ */

/* Desktop and Large Tablets (992px and above) */
@media (min-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .partner-label { font-size: 0.9rem; }
    .btn-hero { padding: 1rem 2.5rem; font-size: 1rem; }
    .business-images { height: 400px; gap: 18px; }
    .business-images > div:first-child img { height: 420px; }
    .stacked-images { height: 440px; }
    .stacked-images img { height: 200px; }
}

/* TABLETS (770px to 991px) - FIXED VERSION */
@media (min-width: 770px) and (max-width: 991px) {
    .hero-section { 
        padding: 2rem 0 2rem 0; /* Further reduced padding */
        min-height: auto; /* Let content determine height */
        display: flex;
        align-items: center;
    }
    
    .hero-title { 
        font-size: 2.5rem; /* Slightly smaller */
        margin-bottom: 1.5rem; /* Reduced bottom margin */
    }
    
    .partner-label { 
        font-size: 0.8rem; 
        margin-bottom: 1rem; 
    }
    
    .btn-hero { 
        padding: 0.85rem 1.8rem; 
        font-size: 0.9rem; 
    }
    
    .btn { 
        padding: 0.85rem 1.6rem; 
        font-size: 0.9rem; 
    }
    
    .d-flex.gap-3 {
        margin-bottom: 1.5rem; /* Further reduced gap */
    }
    
    /* Optimize column spacing */
    .col-lg-6, .col-md-6 {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    /* Optimized image grid for tablets */
    .business-images { 
        height: 350px; /* Better proportion */
        gap: 12px; 
        margin-top: 0; /* Remove any top margin */
    }
    
    .business-images > div:first-child img { 
        height: 360px; /* Proportional to container */
    }
    
    .stacked-images { 
        height: 370px; /* Match the main image height better */
    }
    
    .stacked-images img { 
        height: 175px; /* Better fit */
    }
    
    /* Reduce decorative elements */
    .images-container::before { 
        width: 70px; 
        height: 70px; 
        top: -15px;
        right: -15px;
    }
    
    .images-container::after { 
        width: 45px; 
        height: 45px; 
        bottom: -10px;
        left: -10px;
    }
    
    /* Better vertical alignment */
    .row.align-items-center {
        align-items: center !important;
    }
}

/* Small Tablets and Large Mobile (576px to 769px) */
@media (min-width: 576px) and (max-width: 769px) {
    .hero-title { 
        font-size: 2.4rem; 
    }
    
    .partner-label { 
        font-size: 0.8rem; 
        margin-bottom: 1rem; 
    }
    
    .hero-section { 
        text-align: center; 
        padding: 2rem 0; 
        min-height: auto; /* Allow natural height */
    }
    
    .btn-hero { 
        padding: 0.8rem 2rem; 
        font-size: 0.9rem; 
    }
    
    .btn { 
        padding: 0.8rem 1.6rem; 
        font-size: 0.9rem; 
    }
    
    .d-flex.gap-3 { 
        justify-content: center; 
        margin-bottom: 2.5rem; 
    }
    
    .business-images {
        grid-template-columns: 1fr;
        height: auto;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .business-images > div:first-child { 
        height: 280px; 
    }
    
    .business-images > div:first-child img { 
        height: 280px; 
    }
    
    .stacked-images { 
        height: auto;
        flex-direction: row;
        gap: 20px;
    }
    
    .stacked-images > div { 
        height: 200px; 
    }
    
    .stacked-images img { 
        height: 200px; 
    }
}

/* Mobile (575px and below) */
@media (max-width: 575px) {
    .hero-title { 
        font-size: 2.2rem; 
        line-height: 1.2; 
    }
    
    .partner-label { 
        font-size: 0.8rem; 
        margin-bottom: 1.5rem;
        display: inline-block;
        padding: 0.5rem 1rem;
        background: rgba(212, 175, 55, 0.1);
        border-radius: 20px;
        border: 1px solid rgba(212, 175, 55, 0.2);
    }

    [data-theme="dark"] .partner-label {
        background: rgba(244, 208, 63, 0.1);
        border-color: rgba(244, 208, 63, 0.2);
    }
    
    .hero-section { 
        text-align: center; 
        padding: 2.5rem 0; 
        min-height: auto;
    }
    
    .btn-hero { 
        padding: 1rem 2rem; 
        font-size: 0.9rem; 
    }
    
    .btn { 
        padding: 1rem 1.8rem; 
        font-size: 0.9rem; 
    }
    
    .d-flex.gap-3 { 
        flex-direction: column; 
        gap: 1.2rem !important; 
        align-items: center;
        margin-bottom: 3rem;
    }
    
    .d-flex.gap-3 a { 
        width: 100%; 
        max-width: 280px; 
        text-align: center; 
        justify-content: center;
    }
    
    .business-images {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 24px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .business-images > div:first-child { 
        height: 250px; 
    }
    
    .business-images > div:first-child img { 
        height: 250px; 
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    }

    [data-theme="dark"] .business-images > div:first-child img {
        box-shadow: 0 8px 25px rgba(244, 208, 63, 0.2);
    }

    .stacked-images { 
        height: auto;
        flex-direction: row;
        gap: 16px;
    }
    
    .stacked-images > div { 
        height: 160px; 
        flex: 1; 
    }
    
    .stacked-images img { 
        height: 160px; 
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
    }

    [data-theme="dark"] .stacked-images img {
        box-shadow: 0 6px 20px rgba(244, 208, 63, 0.15);
    }

    .images-container::before { 
        width: 70px; 
        height: 70px; 
        top: -30px; 
        right: -30px; 
    }
    
    .images-container::after { 
        width: 50px; 
        height: 50px; 
        bottom: -20px; 
        left: -20px; 
    }
    
    .container { 
        padding-left: 1.5rem; 
        padding-right: 1.5rem; 
    }
    
    .row { 
        margin-left: 0; 
        margin-right: 0; 
    }
    
    .hero-title { 
        margin-bottom: 2.5rem; 
    }
}

/* Extra small mobile (400px and below) */
@media (max-width: 400px) {
    .hero-title { 
        font-size: 1.8rem; 
    }
    
    .business-images { 
        max-width: 300px; 
    }
    
    .business-images > div:first-child { 
        height: 220px; 
    }
    
    .business-images > div:first-child img { 
        height: 220px; 
    }
    
    .stacked-images > div { 
        height: 140px; 
    }
    
    .stacked-images img { 
        height: 140px; 
    }
    
    .btn-hero { 
        padding: 0.9rem 1.8rem; 
        font-size: 0.85rem; 
    }
    
    .btn { 
        padding: 0.9rem 1.6rem; 
        font-size: 0.85rem; 
    }
}

hr {
    border-style: none;
}

/* Dark mode enhancements */
[data-theme="dark"] .hero-section {
    background: var(--bg-cream);
}

/* Smooth theme transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}