/* ==========================================
   BÉVUA Wedding — Dark Luxury Theme
   ========================================== */
:root {
    --bg-color: #0A0A0B;
    --accent-color: #E0A098;
    --accent-hover: #D1A9A1;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --card-bg: rgba(255, 255, 255, 0.04);
    --border-color: rgba(224, 160, 152, 0.12);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   Header
   ========================================== */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo img {
    height: 48px;
    width: auto;
    border-radius: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-badge {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-left: -8px;
    opacity: 0.6;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 4px;
    letter-spacing: 0.5px;
}

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

.nav-link:hover {
    color: var(--text-primary);
}

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

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    padding: 100px 0 120px;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(224, 160, 152, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.12;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0A098 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 48px;
    max-width: 520px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.app-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.store-badge-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.store-badge-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(224, 160, 152, 0.15);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.store-badge-btn svg {
    width: 28px;
    height: 28px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-sub {
    font-size: 0.65rem;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.badge-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.1;
    font-family: var(--font-body);
}

/* Hero Image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 460px;
    width: 100%;
    border: 1px solid var(--border-color);
}

.image-wrapper:hover {
    transform: rotate(0deg) scale(1.03);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.glow-effect {
    position: absolute;
    top: -30%;
    right: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(224, 160, 152, 0.2) 0%, transparent 65%);
    z-index: -1;
    pointer-events: none;
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery {
    padding: 120px 0;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
    opacity: 0.3;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 16px;
    position: relative;
    display: block;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0A098 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 70px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.gallery-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(224, 160, 152, 0.1);
    border-color: rgba(224, 160, 152, 0.3);
}

.card-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 1;
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--accent-color);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-visual {
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .app-badges {
        justify-content: center;
    }

    .image-wrapper {
        transform: none;
        max-width: 400px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
