:root {
    --emerald: #061f14;
    --deep-emerald: #04160e;
    --gold-leaf: #d4af37;
    --gold-bright: #f9e2af;
    --champagne: #f4e8d1;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.2);
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--emerald);
    color: var(--champagne);
    font-family: 'Cormorant Garamond', serif;
    margin: 0;
    line-height: 1.6;
}

/* --- DECORATIVE ELEMENTS --- */
.floral-corner {
    position: fixed;
    width: 300px;
    z-index: 100;
    pointer-events: none;
    opacity: 0.6;
    filter: sepia(0.5) brightness(0.8);
}

.floral-top-left {
    top: -50px;
    left: -50px;
    transform: rotate(0deg);
}

.floral-bottom-right {
    bottom: -50px;
    right: -50px;
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .floral-corner {
        width: 150px;
        opacity: 0.4;
    }

    .nav-luxe {
        gap: 15px;
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .nav-luxe {
        gap: 10px;
        padding: 15px 0;
    }

    .main-title {
        letter-spacing: 6px !important;
    }

    .amharic-hero {
        font-size: 0.85rem;
    }
}

/* --- NAVIGATION --- */
.nav-luxe {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--deep-emerald) 10%, transparent 100%);
    display: flex;
    justify-content: center;
    gap: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav-luxe a {
    color: var(--gold-leaf);
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.8;
}

.nav-luxe a:hover {
    opacity: 1;
    letter-spacing: 5px;
}

/* --- POLISHED HERO SECTION --- */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 20px;
    background: radial-gradient(circle at center, #0a3a26 0%, var(--emerald) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('photos/Fish&Egla (2).jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
    filter: grayscale(30%) contrast(1.2);
    pointer-events: none;
}

.hero-frame {
    position: absolute;
    width: 80%;
    max-width: 800px;
    height: 80%;
    border: 1px solid var(--glass-border);
    pointer-events: none;
    z-index: 1;
}

.hero-frame::before,
.hero-frame::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold-leaf);
}

.hero-frame::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.hero-frame::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

.script-sub {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--gold-leaf);
    margin-bottom: -10px;
    z-index: 2;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    position: relative;
}

.main-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(3rem, 10vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 12px;
    line-height: 0.9;
    margin: 20px 0;
    background: linear-gradient(to bottom, #fff 20%, var(--gold-leaf) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
}

.hero-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-leaf), transparent);
    margin: 40px 0;
    position: relative;
    z-index: 2;
}

.hero-divider::after {
    content: "❦";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: var(--gold-leaf);
}

.amharic-hero {
    font-family: 'Noto Serif Ethiopic', serif;
    font-weight: 200;
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    max-width: 90%;
    width: 450px;
    color: rgba(244, 232, 209, 0.9);
    letter-spacing: 1px;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 2;
    padding: 0 15px;
    margin: 0 auto;
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 10px;
    color: var(--champagne);
}

.section-header .script-title {
    font-family: 'Pinyon Script', cursive;
    font-size: 2.5rem;
    color: var(--gold-leaf);
    display: block;
    margin-top: -20px;
}

/* --- OUR STORY SECTION --- */
.story-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.story-content {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
    color: rgba(244, 232, 209, 0.8);
}

/* --- THE EVENT SECTION --- */
.event-section {
    padding: 100px 20px;
    background: var(--deep-emerald);
    overflow: hidden;
}

.event-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    text-align: center;
    transition: 0.5s;
    height: 100%;
}

.event-card:hover {
    border-color: var(--gold-leaf);
    background: rgba(255, 255, 255, 0.06);
}

.event-icon {
    font-size: 2rem;
    color: var(--gold-leaf);
    margin-bottom: 20px;
    display: block;
}

.event-title {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    color: var(--gold-leaf);
    margin-bottom: 20px;
}

/* --- REFINED MASONRY GALLERY --- */
.gallery-container {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-masonry {
    column-count: 4;
    column-gap: 20px;
    width: 100%;
}

@media (max-width: 1200px) {
    .gallery-masonry {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-masonry {
        column-count: 2;
        column-gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        column-count: 2;
        column-gap: 15px;
    }
}

.luxury-frame {
    display: inline-block; /* Required for column-count to work correctly */
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    break-inside: avoid; /* Prevents frame from splitting between columns */
    transition: 0.5s;
}

@media (max-width: 480px) {
    .luxury-frame {
        margin-bottom: 10px;
    }
}

.luxury-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: 1s cubic-bezier(0.2, 1, 0.3, 1);
    filter: brightness(0.9) contrast(1.1);
}

.luxury-frame:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.luxury-frame::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    transition: 0.5s;
}

.luxury-frame:hover::after {
    border-color: var(--gold-leaf);
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
}

/* --- GUESTBOOK LUXE --- */
.guestbook-section {
    background: var(--emerald);
    padding: 150px 20px;
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

.luxe-input {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 0 !important;
    color: var(--champagne) !important;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    padding: 15px !important;
    margin-bottom: 20px;
    transition: 0.4s;
}

.luxe-input:focus {
    border-color: var(--gold-leaf) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1) !important;
}

.luxe-input::placeholder {
    color: rgba(244, 232, 209, 0.5) !important;
    font-style: italic;
    font-weight: 300;
    font-size: 1rem;
}

.luxe-btn {
    background: var(--gold-leaf);
    color: var(--emerald);
    border: none;
    border-radius: 0;
    padding: 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    width: 100%;
    transition: 0.4s;
    cursor: pointer;
}

.luxe-btn:hover {
    background: var(--gold-bright);
    letter-spacing: 6px;
}

.wish-card {
    background: var(--glass);
    /* border-left: 3px solid var(--gold-leaf); */
    padding: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- FOOTER --- */
.footer-luxe {
    text-align: center;
    padding: 100px 20px;
    background: var(--deep-emerald);
    color: var(--gold-leaf);
}

.footer-logo {
    font-family: 'Pinyon Script', cursive;
    font-size: 3rem;
    margin-bottom: 30px;
    display: block;
}

.footer-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 6px;
    opacity: 0.6;
}

.floating-wish-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--emerald);
    color: var(--gold-leaf);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid var(--gold-leaf);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wish-btn .btn-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.floating-wish-btn:hover {
    transform: scale(1.05) translateY(-5px);
    background: var(--deep-emerald);
    color: var(--gold-leaf);
}

/* On very small screens, hide the text to keep it minimal */
@media (max-width: 480px) {
    /* .floating-wish-btn .btn-text {
        display: none;
    } */

    /* .floating-wish-btn {
        padding: 15px;
        bottom: 20px;
        right: 20px;
    } */
}