/* ===================================
   Wedding Website - Custom Styles
   =================================== */

/* ===================================
   Variables & Reset
   =================================== */
:root {
    --primary-color: #6ecbff;
    --secondary-color: #3fa9f5;
    --accent-color: #dff4ff;
    --dark-color: #1f3b57;
    --light-color: #f6fbff;
    --text-color: #35516b;
    --white: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
}

.my-text-primary {
    color: var(--primary-color) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   Utility Classes
   =================================== */
.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

/* ===================================
   Navbar
   =================================== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white) !important;
    font-weight: 600;
}

.navbar.scrolled .navbar-brand {
    color: var(--dark-color) !important;
}

.navbar-brand i {
    color: var(--primary-color);
    margin-right: 8px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--dark-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: 2px solid var(--white);
}

.navbar.scrolled .navbar-toggler {
    border-color: var(--dark-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('../img/couple-1.jpg') bottom/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('../img/2.jpeg') bottom/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    color: var(--white);
    font-size: 5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-content .display-4 {
    color: var(--white);
    font-weight: 500;
}

.hero-content .btn {
    padding: 15px 40px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-20px);
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Countdown Section
   =================================== */
.countdown-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 150px;
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.countdown-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

/* ===================================
   Our Story Section
   =================================== */
.our-story-section {
    background: var(--light-color);
    padding: 100px 0;
}

.story-image {
    position: relative;

}

.story-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    opacity: 0.3;
    border-radius: 50%;
    z-index: -1;
}

.story-image img {
    border: 10px solid var(--white);
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* ===================================
   Wedding Details Section
   =================================== */
.wedding-section {
    padding: 100px 0;
    background:
        radial-gradient(circle at 12% 15%, rgba(110, 203, 255, 0.16) 0, transparent 30%),
        radial-gradient(circle at 88% 85%, rgba(63, 169, 245, 0.14) 0, transparent 30%),
        var(--white);
}

.ceremony-showcase {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(360px, 1fr);
    align-items: stretch;
    background: linear-gradient(145deg, #ffffff 0%, #f6fbff 70%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(31, 59, 87, 0.18);
}

.ceremony-photo-wrap {
    position: relative;
    min-height: 420px;
}

.ceremony-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceremony-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 59, 87, 0.5), transparent 40%);
}

.ceremony-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ceremony-badge i {
    color: var(--secondary-color);
}

.ceremony-content {
    padding: 42px;
}

.ceremony-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.ceremony-title {
    font-size: 2.3rem;
    margin-bottom: 16px;
}

.ceremony-text {
    color: var(--text-color);
    margin-bottom: 24px;
    max-width: 50ch;
}

.ceremony-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 26px;
}

.ceremony-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--white);
    border: 1px solid rgba(63, 169, 245, 0.2);
    border-radius: 14px;
    padding: 14px;
}

.ceremony-info-item i {
    color: var(--primary-color);
    margin-top: 5px;
}

.ceremony-info-item strong {
    display: block;
    color: var(--dark-color);
    font-size: 0.92rem;
    margin-bottom: 3px;
}

.ceremony-info-item span {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.45;
}

.ceremony-info-item-full {
    grid-column: 1 / -1;
}

.ceremony-map-btn {
    border-radius: 999px;
    padding: 11px 24px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(63, 169, 245, 0.26);
}

.ceremony-map-btn:hover {
    transform: translateY(-2px);
}

.wedding-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.wedding-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.wedding-card-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.wedding-card-title {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.wedding-card-body {
    margin-bottom: 20px;
    width: 300px;
    margin: auto;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    text-align: left;

}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    min-width: 20px;
}

.info-item span {
    font-size: 1.1rem;
    line-height: 1.6;
}

.wedding-card .btn {
    border-width: 2px;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.wedding-card .btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.dress-code-card {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    padding: 50px;
    border-radius: 20px;
    color: var(--white);
    margin-top: 30px;
}

.dress-code-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.dress-code-card h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.dress-code-card .lead {
    margin: 0;
    font-weight: 500;
}

/* ===================================
   Honeymoon Section
   =================================== */
.honeymoon-section {
    padding: 100px 0;
    background: var(--light-color);
}

.honeymoon-image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    position: relative;
}

.honeymoon-image.main {
    grid-row: 1 / 3;
}

.honeymoon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.honeymoon-image img:hover {
    transform: scale(1.05);
}

.destination-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.honeymoon-info-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
}

.honeymoon-info-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.honeymoon-info-card strong {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.honeymoon-info-card .alert {
    border-left: 4px solid #0dcaf0;
}

/* ===================================
   Gift/IBAN Section
   =================================== */
.gift-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(139, 115, 85, 0.1));
}

.gift-card {
    background: var(--white);
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.1);
}

.gift-icon {
    font-size: 4rem;
    color: var(--primary-color);
}

.iban-card {
    background: linear-gradient(135deg, var(--light-color), var(--white));
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--accent-color);
    margin-top: 30px;
}

.iban-card h4 {
    color: var(--dark-color);
    font-weight: 600;
}

.iban-details {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.iban-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.iban-row:last-child {
    border-bottom: none;
}

.iban-label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.iban-value {
    text-align: right;
    color: var(--text-color);
    font-size: 1rem;
}

.iban-number {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.iban-card .btn {
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--primary-color);
    border: none;
    transition: var(--transition);
}

.iban-card .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Gallery Section
   =================================== */
.gallery-section {
    padding: 100px 0;
    background: var(--white);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.6), rgba(139, 115, 85, 0.6));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* ===================================
   Footer
   =================================== */
.footer-section {
    background: var(--dark-color);
    color: var(--white);
}

.footer-hearts i {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 10px;
    animation: heartBeat 1.5s infinite;
}

.footer-hearts i:nth-child(2) {
    animation-delay: 0.3s;
}

.footer-hearts i:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(1.2);
    }

    20% {
        transform: scale(1);
    }
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .countdown-item {
        min-width: 120px;
        padding: 20px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .honeymoon-image-grid {
        grid-template-columns: 1fr;
    }

    .honeymoon-image.main {
        grid-row: auto;
    }

    .ceremony-showcase {
        grid-template-columns: 1fr;
    }

    .ceremony-photo-wrap {
        min-height: 340px;
    }

    .ceremony-content {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .lead {
        font-size: 1.2rem;
    }

    .hero-content .display-4 {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        margin: 10px 0;
    }

    .iban-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .iban-value {
        text-align: left;
    }

    .gift-card {
        padding: 40px 25px;
    }

    .iban-card {
        padding: 25px 15px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .story-image::before {
        right: 0;
        width: 140px;
        height: 140px;
    }

    .ceremony-content {
        padding: 28px 22px;
    }

    .ceremony-title {
        font-size: 1.9rem;
    }

    .ceremony-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .countdown-item {
        min-width: 100px;
        padding: 15px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .gallery-item {
        height: 250px;
    }
}

/* ===================================
   Custom Animations
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}