/* 
* Dann & Daniël Wedding Website Styles
* Updated for Modern Design
* Version: 2.0
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #DE8492; /* Rose pink - kept as is */
    --secondary-color: #000000; /* Black - kept as is */
    --dark-color: #333;
    --light-color: #f8f9fa;
    --dark-purple: #7B506F;
    --purple: #9B7A9D;
    --pink: #DE8492;
    /* Updated font choices for modern look */
    --font-primary: 'Cormorant Garamond', 'Playfair Display', serif;
    --font-secondary: 'Montserrat', 'Raleway', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
    /* Add subtle texture for modern feel */
    background-image: radial-gradient(circle at 25px 25px, rgba(222, 132, 146, 0.03) 2px, transparent 0),
                      radial-gradient(circle at 75px 75px, rgba(222, 132, 146, 0.03) 2px, transparent 0);
    background-size: 100px 100px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 500; /* Slightly lighter weight for modern look */
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #000000;
    text-decoration: none;
}

.btn {
    border-radius: 50px; /* Rounded buttons for modern look */
    padding: 0.5rem 2rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-padding {
    padding: 120px 0; /* Slightly more spacing */
}

section {
    scroll-margin-top: 50px; /* Add scroll margin to account for navbar */
}

.section-title {
    font-size: 3rem; /* Larger, more dramatic titles */
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    line-height: 1.2;
}

.section-divider {
    height: 2px; /* Thinner, more elegant divider */
    width: 80px;
    background: var(--primary-color);
    margin: 0 auto 40px;
}

/* ===== Navigation ===== */
.navbar {
    padding: 25px 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    font-family: var(--font-secondary);
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 30px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #000000;
}

/* Navigation Typography */
nav {
    font-family: 'Great Vibes', cursive;
    font-size: 1.4rem;
}

.nav-links a {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

/* ===== Home Section ===== */
#home {
    padding-top: 180px; /* More space at top */
    background-color: var(--light-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.wedding-logo {
    max-width: 100%;
    width: 600px;
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.5s ease;
}

.wedding-logo:hover {
    transform: scale(1.02);
}

.wedding-date {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-top: 10px;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.countdown-container {
    margin-top: 30px;
    padding-bottom: 20px;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.countdown-item {
    text-align: center;
    min-width: 90px;
    position: relative;
}

.countdown-item::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background-color: rgba(222, 132, 146, 0.2);
}

.countdown-item:last-child::after {
    display: none;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 300; /* Lighter weight for modern look */
    color: var(--primary-color);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-top: 5px;
    font-weight: 500;
}

/* ===== About Section ===== */
.about-image img {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px; /* Larger radius for softer look */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Align about image to first line of text */
#about .row {
    display: flex;
    align-items: flex-start;
}

.about-content {
    padding-top: 0;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
}

.about-content h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    margin-top: 0;
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Typography Elements */
.section h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.signature {
    font-family: 'Great Vibes', cursive !important;
    font-size: 2.2rem;
    margin-top: 1rem;
    color: var(--primary-color);
}

.signature-name {
    font-size: 1.4rem;
    margin: 0.5rem 0;
}

.ceremoniemeester-signature {
    font-family: 'Great Vibes', cursive;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.ceremoniemeester-name {
    font-size: 1.4rem;
    margin: 0.5rem 0;
}

.ceremoniemeester-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.ceremoniemeester-email {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* ===== Letter Section ===== */
.letter-content {
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.letter-content::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 8rem;
    font-family: serif;
    color: rgba(222, 132, 146, 0.1);
    line-height: 1;
}

.letter-content .lead {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ===== VIP Section ===== */
.vip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.vip-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(222, 132, 146, 0.05) 0%, rgba(155, 122, 157, 0.1) 100%);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.vip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.vip-card:hover::before {
    transform: translateY(0);
}

.vip-card img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 5px solid rgba(222, 132, 146, 0.1);
    transition: all 0.3s ease;
}

.vip-card:hover img {
    border-color: rgba(222, 132, 146, 0.3);
}

.vip-card h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.vip-description {
    color: var(--dark-color);
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.vip-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
}

.vip-name {
    font-family: 'Poppins', sans-serif;
    color: var(--pink);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.vip-role {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* ===== Merchandise Section ===== */
.merch-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.merch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.merch-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.merch-card:hover img {
    transform: scale(1.05);
}

.merch-card h4 {
    padding: 20px 20px 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.merch-card p:nth-child(3) {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0 20px;
    margin-top: 5px;
}

/* ===== RSVP Section ===== */
.rsvp-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.form-control {
    border-radius: 8px;
    border: 1px solid rgba(222, 132, 146, 0.2);
    padding: 12px 15px;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(222, 132, 146, 0.25);
}

.form-label {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* ===== Photo Upload Section ===== */
.photo-upload-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.upload-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.upload-area {
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    padding: 40px 20px;
    margin: 30px 0;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: rgba(222, 132, 146, 0.05);
}

.upload-area:hover {
    background-color: rgba(222, 132, 146, 0.1);
}

.upload-area.highlight {
    background-color: rgba(222, 132, 146, 0.2);
    border-color: var(--primary-color);
    border-style: solid;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-text {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.upload-subtext {
    color: var(--primary-color);
    font-size: 0.9rem;
    opacity: 0.7;
}

.uploaded-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.photo-preview {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.photo-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.photo-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.photo-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.photo-remove:hover {
    background-color: #fff;
    color: #ff0000;
}

.upload-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.upload-btn:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Footer ===== */
.footer {
    background-color: #fff;
    padding: 50px 0 20px;
    text-align: center;
}

.footer a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.footer a:hover {
    background-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Responsive Styles ===== */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 100px 0;
    }
    
    #home {
        padding-top: 150px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .wedding-logo {
        width: 500px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 80px 0;
    }
    
    #home {
        padding-top: 120px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .rsvp-form {
        padding: 30px;
    }
    
    .wedding-logo {
        width: 400px;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .wedding-logo {
        width: 300px;
    }
    
    .vip-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-item::after {
        display: none;
    }
    
    .rsvp-form {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ===== Gifts Section ===== */
.gift-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gift-card-img-container {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
    overflow: hidden;
    padding: 10px;
}

.gift-card-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 230px;
    object-fit: contain;
}

.gift-card-body {
    padding: 1.5rem;
}

.gift-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.gift-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.gift-description {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.gift-reserved-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.gift-form-container {
    margin-top: 2rem;
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.gift-modal .modal-header {
    border-bottom: 1px solid rgba(222, 132, 146, 0.2);
}

.gift-modal .modal-footer {
    border-top: 1px solid rgba(222, 132, 146, 0.2);
}

.gift-filter {
    margin-bottom: 2rem;
}

.gift-card .btn-reserve {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.gift-card .btn-reserve:hover {
    background-color: #c46976;
    transform: translateY(-2px);
}

.gift-card .btn-reserved {
    background-color: #6c757d;
    pointer-events: none;
}

.gift-card .reservation-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    font-style: italic;
}

/* Gift filter button group - mobile friendly */
.gift-filter .btn-group {
    width: 100%;
    flex-wrap: wrap;
}

.gift-filter .btn {
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
    min-width: 100px;
    border-radius: 20px !important;
    margin-bottom: 5px;
}

@media (max-width: 576px) {
    .gift-filter .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    .gift-filter .btn {
        width: 100%;
        margin-bottom: 8px;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .gift-filter .btn-group {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .gift-filter .btn {
        flex: 0 0 auto;
        min-width: 120px;
    }
} 