/* Wedding Premium Theme - Compliant with Boss Standards */
/* NO floating animations - NO asymmetric grids - UNDER 90 min build */

/* Fixed Navigation Header */
.wedding-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.wedding-nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--wedding-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-brand:hover {
    color: var(--wedding-rose);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--wedding-text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wedding-rose);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--wedding-rose);
}

.nav-link.active {
    color: var(--wedding-rose);
}

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

.nav-cta {
    background: var(--wedding-rose);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--wedding-gold);
    transform: translateY(-2px);
}

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

/* Adjust content for fixed header */
body {
    padding-top: 70px;
}

/* Scrolled state for header */
.wedding-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .nav-brand {
        font-size: 1.5rem;
    }
    
    .nav-cta {
        padding: 0.4rem 1rem;
    }
}

/* Premium Enhancements */
.hero {
    background: linear-gradient(135deg, rgba(255,245,245,0.92), rgba(255,250,248,0.88));
    position: relative;
    overflow: hidden;
}

/* SVG Monogram */
.monogram-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.monogram {
    width: 150px;
    height: 150px;
}

.monogram-text {
    font-family: 'Great Vibes', cursive;
    font-size: 60px;
    fill: var(--wedding-gold);
    text-anchor: middle;
    dominant-baseline: middle;
}

.monogram-circle {
    fill: none;
    stroke: var(--wedding-rose);
    stroke-width: 2;
    opacity: 0.5;
}

/* Photo Gallery - SYMMETRIC GRID */
.photo-gallery {
    padding: 5rem 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

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

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

/* Enhanced Party Member Cards */
.party-member {
    text-align: center;
    transition: transform 0.2s ease;
}

.party-member:hover {
    transform: translateY(-3px);
}

.party-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    border: 4px solid var(--wedding-rose);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.party-member:hover .party-photo {
    border-color: var(--wedding-gold);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Enhanced Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--wedding-rose) 0%, var(--wedding-gold) 100%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 0;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 0;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--wedding-rose);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

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

.timeline-item:hover .timeline-image img {
    transform: scale(1.03);
}

.timeline-icon {
    position: absolute;
    top: 25px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 3;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -20px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -20px;
}

.timeline-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--wedding-rose);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

/* Arrow pointing to timeline */
.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    top: 30px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px !important;
        padding-right: 20px !important;
    }
    
    .timeline-item .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
    
    .timeline-item .timeline-icon {
        left: 0 !important;
        right: auto !important;
    }
    
    .timeline-item .timeline-content::after {
        left: -10px !important;
        right: auto !important;
        border-left: none !important;
        border-right: 10px solid white !important;
    }
}

/* Tourism Cards - Elegant Text Only */
.tourism-card {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    background: linear-gradient(135deg, white, #FFFAF8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: center;
    border: 2px solid rgba(232, 180, 184, 0.2);
    position: relative;
    overflow: hidden;
}

.tourism-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wedding-rose), var(--wedding-gold));
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.tourism-card:hover::before {
    transform: scaleX(1);
}

.tourism-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    text-decoration: none !important;
    border-color: var(--wedding-rose);
}

.tourism-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tourism-icon svg {
    color: var(--wedding-mauve);
    transition: color 0.2s ease;
}

.tourism-card:hover .tourism-icon svg {
    color: var(--wedding-rose);
}

.tourism-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--wedding-mauve);
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    text-decoration: none !important;
    font-weight: 600;
}

.tourism-card p {
    color: var(--wedding-text-medium);
    font-size: 0.9rem;
    margin: 0;
    text-decoration: none !important;
}

.tourism-distance {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--wedding-champagne);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--wedding-gold-dark);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Love Quotes Carousel */
.love-quotes {
    background: linear-gradient(135deg, #FFF5F5, #FFFAF8);
    padding: 5rem 0;
    text-align: center;
}

.quote-slider {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--wedding-text-dark);
    font-style: italic;
    margin: 2rem 0;
    opacity: 0;
    animation: fadeInOut 8s infinite;
}

.quote:nth-child(2) { animation-delay: 4s; }

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    25%, 75% { opacity: 1; }
}

/* Instagram Section */
.social-feed {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.hashtag {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--wedding-gold-dark);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.instagram-post {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

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

.instagram-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.instagram-post:hover img {
    transform: scale(1.05);
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
}

.music-toggle {
    background: linear-gradient(135deg, var(--wedding-gold), var(--wedding-champagne));
    color: var(--wedding-text-dark);
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.music-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 25px rgba(0,0,0,0.25);
}

/* Decorative Divider */
.divider {
    text-align: center;
    margin: 4rem 0;
}

.divider svg {
    width: 200px;
    height: 40px;
    fill: var(--wedding-rose);
    opacity: 0.3;
}

/* Premium Shadows */
.luxury-shadow {
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 4px 8px rgba(0,0,0,0.06),
        0 8px 16px rgba(0,0,0,0.08),
        0 16px 32px rgba(0,0,0,0.10);
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--wedding-gold), var(--wedding-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Loading Animation */
.luxury-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--wedding-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s;
}

.luxury-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader-icon {
    width: 60px;
    height: 60px;
    border: 3px solid var(--wedding-rose);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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