/* =====================================================
   WEDDING WEBSITE - A Visual Spectacle
   ===================================================== */

/* CSS Variables */
:root {
    --color-bg: #1a120b;
    --color-bg-light: #2c1e14;
    --color-chocolate: #4a2c2a;
    --color-cream: #f5f0e6;
    --color-gold: #c9a84c;
    --color-gold-light: #e8d48b;
    --color-forest-green: #2d5a3d;
    --color-coral: #e87461;
    --color-text: #f5f0e6;
    --color-text-muted: #b8b0a0;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Video Background */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

.bg-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 8, 6, 0.65);
    z-index: -1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(26, 18, 11, 0.9);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-gold);
    letter-spacing: 0.2em;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-hamburger span {
    width: 28px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-chocolate);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
    transition: right 0.5s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--color-gold);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 18, 11, 0.3) 0%,
        rgba(26, 18, 11, 0.5) 50%,
        rgba(26, 18, 11, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 300;
    color: var(--color-gold-light);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-title .reveal-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px) rotateX(-90deg);
    transform-origin: center bottom;
}

.hero-title .amp {
    color: var(--color-gold);
    font-style: italic;
    margin: 0 0.5rem;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(30px);
}

.date-ornament {
    color: var(--color-gold);
    font-size: 0.8rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease 2s forwards;
    opacity: 0;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes fadeInUp {
    to { opacity: 1; }
}

/* Section Styles */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.section-subtitle {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 4rem;
}

/* Countdown Section */
.countdown-section {
    position: relative;
    padding: 8rem 0;
    background: rgba(26, 18, 11, 0.85);
    overflow: hidden;
}

.countdown-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 20rem);
    font-weight: 300;
    color: rgba(212, 165, 116, 0.03);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.3em;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 120px;
}

.countdown-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Story Section */
.story-section {
    padding: 8rem 0;
    background: rgba(26, 18, 11, 0.7);
}

.story-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--color-gold) 10%,
        var(--color-gold) 90%,
        transparent
    );
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.timeline-item.reverse {
    flex-direction: row-reverse;
}

.timeline-item.reverse .timeline-content {
    text-align: right;
}

.timeline-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.timeline-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.5;
}

.timeline-item.reverse .timeline-image::before {
    left: 10px;
    right: -10px;
}

.timeline-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.timeline-image:hover img {
    transform: scale(1.05);
}

.timeline-content {
    flex: 1;
}

.timeline-date {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* Parallax Quote Section */
.parallax-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
}

.parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.7);
}

.parallax-content {
    position: relative;
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--color-gold);
    line-height: 0.5;
    opacity: 0.5;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.quote-attribution {
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--color-gold);
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 0;
    background: rgba(44, 30, 20, 0.85);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay span {
    background: var(--color-gold);
    color: var(--color-bg);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 1rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-gold);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Event Details Section */
.event-details-section {
    padding: 8rem 0;
    background: rgba(44, 30, 20, 0.85);
}

.event-details-card {
    background: rgba(26, 18, 11, 0.7);
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.15);
    transition: all 0.4s ease;
}

.event-details-card:hover {
    border-color: rgba(212, 165, 116, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.event-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.event-details-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.event-details-card p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 300;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.event-info-item {
    text-align: center;
}

.event-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.event-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-text);
    line-height: 1.6;
}

.event-note {
    font-style: italic;
    color: var(--color-gold-light) !important;
}

.event-closing p:first-child {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-gold) !important;
    text-align: center;
}

.event-closing p:last-child {
    text-align: center;
    font-style: italic;
}

/* Welcome Section */
.welcome-section {
    padding: 8rem 0;
    background: rgba(26, 18, 11, 0.75);
}

.welcome-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.welcome-image {
    position: relative;
}

.welcome-img-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--color-gold);
}

.welcome-img-frame::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 8px;
    z-index: -1;
}

.welcome-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-content .section-title {
    margin-bottom: 1.5rem;
}

.welcome-greeting {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.welcome-content p {
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.welcome-signoff {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-gold-light) !important;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Bridal Party Section */
.bridal-section {
    padding: 8rem 0;
    background: rgba(44, 30, 20, 0.85);
}

.bridal-couple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.bridal-member {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 18, 11, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.1);
    transition: all 0.4s ease;
}

.bridal-member:hover {
    border-color: rgba(212, 165, 116, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.bridal-photo-frame {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--color-gold);
}

.bridal-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bridal-photo-frame .photo-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-chocolate));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-text);
}

.bridal-photo-frame img + .photo-fallback {
    display: none;
}

.bridal-member h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.bridal-member h4 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-text);
    font-weight: 400;
    margin-bottom: 1rem;
}

.bridal-member p {
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
}

.bridal-attendants {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.bridal-attendant-card {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 18, 11, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.1);
    transition: all 0.4s ease;
}

.bridal-attendant-card:hover {
    border-color: rgba(212, 165, 116, 0.4);
    transform: translateY(-3px);
}

.bridal-photo-frame-sm {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--color-gold);
}

.bridal-photo-frame-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bridal-photo-frame-sm .photo-fallback-sm {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-forest-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-text);
}

.bridal-photo-frame-sm img + .photo-fallback-sm {
    display: none;
}

.bridal-attendant-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-gold);
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.bridal-attendant-card h5 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
    font-weight: 400;
    margin-bottom: 1rem;
}

.bridal-attendant-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-weight: 300;
}

.bridal-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.bridal-group-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

.bridal-group-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(26, 18, 11, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.08);
    transition: all 0.3s ease;
}

.bridal-group-member:hover {
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateX(5px);
}

.bridal-photo-frame-xs {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color-gold);
}

.bridal-photo-frame-xs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bridal-photo-frame-xs .photo-fallback-xs {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-chocolate));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-text);
}

.bridal-photo-frame-xs img + .photo-fallback-xs {
    display: none;
}

.bridal-group-info h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 400;
    margin-bottom: 0.2rem;
}

.bridal-group-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 300;
}

.bridal-groomsmen-placeholder {
    text-align: center;
    padding: 3rem;
    background: rgba(26, 18, 11, 0.4);
    border-radius: 8px;
    border: 1px dashed rgba(212, 165, 116, 0.3);
}

.bridal-groomsmen-placeholder p {
    color: var(--color-text-muted);
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    padding: 8rem 0;
    background: rgba(26, 18, 11, 0.75);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: rgba(44, 30, 20, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.1);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(212, 165, 116, 0.3);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-gold);
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    position: relative;
    font-weight: 400;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
}

.faq-item.active .faq-answer {
    max-height: 2500px;
    padding: 0 1.5rem 1.5rem;
}

/* Travel & Accommodation Section */
.travel-section {
    padding: 8rem 0;
    background: rgba(44, 30, 20, 0.85);
}

.travel-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: 400;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

.travel-content h3:first-child {
    margin-top: 0;
}

.travel-content p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.travel-airport-card {
    background: rgba(26, 18, 11, 0.5);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.travel-airport-card:hover {
    border-color: rgba(212, 165, 116, 0.4);
}

.travel-airport-card h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-gold-light);
    font-weight: 400;
    margin-bottom: 0.8rem;
}

.travel-airport-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.travel-options-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.travel-options-list li {
    color: var(--color-text-muted);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 300;
}

.travel-options-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 0.8rem;
}

.travel-hotels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.travel-hotel-card {
    background: rgba(26, 18, 11, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.1);
    transition: all 0.3s ease;
}

.travel-hotel-card:hover {
    border-color: rgba(212, 165, 116, 0.4);
}

.travel-hotel-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-gold);
    font-weight: 400;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.hotel-item {
    margin-bottom: 1rem;
}

.hotel-item:last-child {
    margin-bottom: 0;
}

.hotel-item strong {
    display: block;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.hotel-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.travel-closing {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-gold-light) !important;
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
}

/* Registry Section */
.registry-section {
    padding: 8rem 0;
    background: rgba(44, 30, 20, 0.85);
    text-align: center;
}

.registry-content {
    max-width: 600px;
    margin: 0 auto;
}

.registry-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.registry-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn-registry {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--color-gold);
    color: var(--color-bg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-registry:hover {
    background: transparent;
    color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* RSVP Section */
.rsvp-section {
    position: relative;
    padding: 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.rsvp-notice {
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.notice-item {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-gold);
}

.hotel-fields {
    transition: all 0.3s ease;
}

.hotel-fields input[type="number"],
.hotel-fields input[type="date"] {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hotel-fields input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.08);
}

.rsvp-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rsvp-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rsvp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.85);
}

.rsvp-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.rsvp-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
    color: var(--color-text-muted);
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.08);
}

.rsvp-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4a574' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.rsvp-form select option {
    background: var(--color-bg);
    color: var(--color-text);
}

.btn-rsvp {
    grid-column: span 2;
    padding: 1.2rem 3rem;
    background: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 4px;
}

.btn-rsvp:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(44, 30, 20, 0.9);
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.footer-hearts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-hearts span {
    color: var(--color-coral);
    font-size: 1.2rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.footer-hearts span:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-hearts span:nth-child(3) {
    animation-delay: 0.4s;
}

.footer-names {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.footer-date {
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-text-muted);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        padding: 1.5rem 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-hamburger {
        display: flex;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .timeline-line {
        left: 0;
    }
    
    .timeline-item,
    .timeline-item.reverse {
        flex-direction: column;
        padding-left: 2rem;
    }
    
    .timeline-item.reverse .timeline-content {
        text-align: left;
    }
    
    .timeline-image::before,
    .timeline-item.reverse .timeline-image::before {
        display: none;
    }
    
    .welcome-layout {
        grid-template-columns: 1fr 1.2fr;
        gap: 3rem;
    }
    
    .bridal-couple {
        gap: 2rem;
    }
    
    .travel-hotels-grid {
        grid-template-columns: 1fr;
    }
    
    .event-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        letter-spacing: 0.08em;
    }
    
    .hero-tagline {
        letter-spacing: 0.15em;
    }
    
    .countdown {
        gap: 1.5rem;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .rsvp-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width,
    .btn-rsvp {
        grid-column: span 1;
    }
    
    .parallax-section {
        height: 60vh;
    }
    
    .welcome-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .welcome-content .section-title {
        text-align: center !important;
    }
    
    .bridal-couple {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bridal-attendants {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bridal-group {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .event-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .event-details-card {
        padding: 2rem;
    }
    
    .travel-hotels-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }
    
    .hero-date {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .date-ornament {
        display: none;
    }
    
    .section-subtitle {
        margin-bottom: 2.5rem;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
    }
    
    .bridal-photo-frame {
        width: 150px;
        height: 150px;
    }

    .bridal-photo-frame .photo-fallback {
        font-size: 2rem;
    }

    .bridal-photo-frame-sm {
        width: 120px;
        height: 120px;
    }

    .bridal-photo-frame-sm .photo-fallback-sm {
        font-size: 2rem;
    }
    
    .event-info-grid {
        gap: 1rem;
        padding: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
        padding-right: 3rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
    
    .travel-airport-card {
        padding: 1.2rem;
    }
    
    .travel-hotel-card {
        padding: 1.2rem;
    }
    
    .bridal-group-member {
        flex-direction: column;
        text-align: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
}

/* Selection */
::selection {
    background: var(--color-gold);
    color: var(--color-bg);
}

/*Bride and Groom*/
.bridal-photo{
    background-image: url(images/bride.jpeg);
    background-position: center;
    background-size: cover;
    height: 400px;
}
.groom-photo{
    background-image: url(images/groom.jpeg);
    background-position: center;
    background-size: cover;
    height: 400px;
}
.bride-groom-text-border{
    text-shadow:
                -2px -2px 0 #000,
                2px -2px 0 #000,
                -2px 2px 0 #000,
                2px 2px 0 #000,
                -3px 0px 0 #000,
                3px 0px 0 #000,
                0px -3px 0 #000,
                0px 3px 0 #000;
}