/* ============================================================
   WEDDINGS PAGE - MOBILE-OPTIMIZED STYLESHEET
   ============================================================ */

/* Base Mobile-First Styles */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Custom Hero Section Styling for Weddings Page */
.hero-section {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
}

.hero-section .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 20px !important;
    width: 100% !important;
}

.hero-section .brand-name {
    font-size: 2rem !important;
    letter-spacing: 3px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

.hero-section .divider {
    margin: 20px 0 !important;
}

.hero-section .hero-quote {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Tablet adjustments */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-section .brand-name {
        font-size: 2.5rem !important;
        letter-spacing: 4px !important;
    }
    
    .hero-section .hero-quote {
        font-size: 1.1rem !important;
        max-width: 85% !important;
    }
}

/* Desktop adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section .brand-name {
        font-size: 3rem !important;
        letter-spacing: 5px !important;
    }
    
    .hero-section .hero-quote {
        font-size: 1.2rem !important;
        max-width: 80% !important;
    }
}

/* Large desktop adjustments */
@media (min-width: 1025px) {
    .hero-section .brand-name {
        font-size: 3.5rem !important;
        letter-spacing: 6px !important;
    }
    
    .hero-section .hero-quote {
        font-size: 1.3rem !important;
        max-width: 70% !important;
    }
}

/* Weddings Gallery Section - Full Width Style */
.weddings-gallery-section {
    padding: 80px 0 0 0;
    background-color: #ffffff;
    margin-top: 0;
}

.weddings-gallery-section::before {
    content: '';
    display: block;
    height: 80px;
    background-color: #ffffff;
}

.weddings-gallery-section .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background-color: #f5f1ed;
}

.weddings-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

/* Wedding Card - Full Width Layout */
.wedding-card {
    background: #f5f1ed;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 0;
    padding-bottom: 60px;
}

.wedding-image-container {
    position: relative;
    width: calc(100% - 40px);
    height: 450px; /* Increased height for better composition on mobile */
    overflow: hidden;
    background: #ddd;
    margin: 0 20px;
    padding: 0;
}

.wedding-image-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.wedding-featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wedding-card:hover .wedding-featured-image,
.wedding-image-link:hover .wedding-featured-image {
    transform: scale(1.02);
}

.wedding-details {
    padding: 30px 20px 0 20px;
    text-align: left;
    background: #f5f1ed;
}

.couple-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #b89968;
    margin-bottom: 10px;
    line-height: 1.2;
}

.wedding-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 15px;
    font-weight: 300;
}

.read-more-btn {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: #b89968;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #b89968;
    transition: width 0.3s ease;
}

.read-more-btn:hover::after {
    width: 100%;
}

.read-more-btn:hover {
    color: #8a6f47;
}

/* CTA Section - Mobile */
.weddings-cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.weddings-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1), transparent);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    padding: 0 10px;
}

.cta-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    padding: 0 10px;
}

.cta-button-large {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    -webkit-tap-highlight-color: transparent;
}

.cta-button-large:active {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: scale(0.97);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* Tablet Styles */
@media (min-width: 481px) and (max-width: 768px) {
    .wedding-card {
        padding-bottom: 70px;
    }
    
    .wedding-image-container {
        height: 500px; /* Better height for tablet viewing */
        width: calc(100% - 60px);
        margin: 0 30px;
        padding: 0;
    }
    
    .wedding-details {
        padding: 35px 30px 0 30px;
    }
    
    .couple-names {
        font-size: 2.5rem;
    }
    
    .wedding-date {
        font-size: 1.05rem;
    }
    
    .read-more-btn {
        font-size: 1.05rem;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .wedding-card {
        padding-bottom: 80px;
    }
    
    .wedding-image-container {
        height: 600px; /* Optimal height for desktop viewing */
        width: calc(100% - 120px);
        margin: 0 60px;
        padding: 0;
    }
    
    .wedding-details {
        padding: 40px 60px 0 60px;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .couple-names {
        font-size: 3rem;
        margin-bottom: 12px;
    }
    
    .wedding-date {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }
    
    .read-more-btn {
        font-size: 1.1rem;
    }
    
    .weddings-cta-section {
        padding: 100px 20px;
    }
    
    .cta-content h2 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    
    .cta-content p {
        font-size: 1.3rem;
        margin-bottom: 40px;
    }
    
    .cta-button-large {
        padding: 18px 50px;
        font-size: 1.1rem;
        letter-spacing: 2px;
        border-radius: 50px;
    }
    
    .cta-button-large:hover {
        background: linear-gradient(135deg, #FFA500, #FFD700);
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .wedding-image-container {
        height: 650px; /* Larger height for big screens */
        width: calc(100% - 200px);
        margin: 0 100px;
        padding: 0;
    }
    
    .wedding-details {
        padding: 50px 100px 0 100px;
    }
    
    .couple-names {
        font-size: 3.5rem;
    }
}