/* Wedding Website Styles */

/* Font Families with excellent Czech diacritics support */
:root {
    --font-primary: 'Crimson Text', serif;
    --font-secondary: 'Source Sans Pro', sans-serif;
    /* --font-script: 'Dancing Script', cursive;  */
    --font-script: 'Crimson Text', cursive;
    --color-primary: #7FB069; /* Light green */
    --color-secondary: #98D982; /* Lighter green */
    --color-accent: #F0F8F0; /* Very light green */
    --color-dark: #2C5530; /* Dark green */
    --color-soft-green: #E8F5E8; /* Soft green background */
    --color-flower: #FFB7C5; /* Soft pink for flower accents */
    /*--color-ring: #FFD900; *//* Yellow for rings icon */
    --color-ring: #e90101; /* Yellow for rings icon */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--color-dark);
}

/* Navigation */
.navbar {
    background: rgba(248, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0 0;
    border-bottom: 2px solid rgba(127, 176, 105, 0.1);
}

.navbar-brand {
    font-family: var(--font-script);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--color-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    height: auto;
    /* background: linear-gradient(rgba(127, 176, 105, 0.3), rgba(152, 217, 130, 0.4)),
                url('../img/design1.png'); */
                /* #E0F2E0, #EEF8EE */
    /* background: linear-gradient(rgba(224, 242, 224, 0.2), rgba(238, 248, 238, 0.2)),
                url('../img/design1.png'); */
    background-image: url('../img/design1.png');
    background-size: 80%;
    background-position: center;
    background-repeat: repeat-x;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* color: white; */
    z-index: 1;
    padding: 100px 20px 50px;
}

/* Hero overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(127, 176, 105, 0.4), rgba(152, 217, 130, 0.2)); */
    /* backdrop-filter: blur(1px); */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
}

/* Section styling to ensure proper layering */
section {
    position: relative;
    z-index: 10;
    background-color: inherit;
}

.guest-welcome {
    font-family: var(--font-script);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.guest-invitation {
    font-family: var(--font-script);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-family: var(--font-script);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-subtitle {
    font-family: var(--font-script);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.wedding-date {
    font-family: var(--font-script);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.wedding-date i {
    color: var(--color-ring);
    font-size: 1.2rem;
}

.wedding-date span {
    margin: 0 1rem;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Section Styling */
.section-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: "🌿";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-secondary);
    /* Custom flower image option - uncomment when ready:
    content: "";
    width: 24px;
    height: 24px;
    background-image: url('../img/flower2.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    */
}

.section-title::before {
    left: -3rem;
}

.section-title::after {
    right: -3rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    margin: 0 auto 3rem;
    border-radius: 2px;
    position: relative;
}

.section-divider::before {
    content: "\f004";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 50%;
    top: -12px;
    transform: translateX(-50%);
    color: var(--color-ring);
    font-size: 1.2rem;
}

.section-divider.bg-white {
    background: white;
}

.section-divider.bg-white::before {
    background: var(--color-primary);
}

/* Story Section */
#story {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-soft-green), var(--color-accent));
    position: relative;
}

#story::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 183, 197, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(152, 217, 130, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(127, 176, 105, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.story-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.story-image img:hover {
    transform: translateY(-10px);
}

.story-content h3 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #666;
}

/* Wedding Details */
.detail-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.detail-card h4 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.detail-card p {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* RSVP Section */
#attendance {
    background: linear-gradient(45deg, #EBF7EB, #F5FCF5);
    position: relative;
}

#attendance::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(127, 176, 105, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 183, 197, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

#attendance .section-title {
    color: var(--color-primary) !important;
}

#attendance .lead {
    color: var(--color-dark);
}

.rsvp-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(127, 176, 105, 0.15);
    border: 2px solid var(--color-accent);
    transition: all 0.3s ease;
}

.rsvp-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(127, 176, 105, 0.2);
    border-color: var(--color-secondary);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--color-dark);
}

.form-control, .form-select {
    border: 2px solid var(--color-accent);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    background: white;
    color: var(--color-dark);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(127, 176, 105, 0.25);
    border-color: var(--color-secondary);
    outline: none;
}

.form-check-label {
    color: var(--color-dark);
    font-weight: 500;
}

.form-check-input {
    border: 2px solid var(--color-primary);
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(127, 176, 105, 0.25);
}

.btn-primary {
    background: var(--color-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #6FA058;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(127, 176, 105, 0.3);
}

.btn-light {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(127, 176, 105, 0.2);
}

.btn-light:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(127, 176, 105, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-title::before,
    .section-title::after {
        display: none; /* Hide floral decorations on mobile */
    }
    
    .guest-welcome {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .guest-invitation {
        max-width: 90%;
        line-height: 1.5;
    }
    
    .detail-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .rsvp-form {
        padding: 2rem;
    }
    
    .schedule-card::before {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1rem;
    }
    
    .hero-section {
        /* background-size: cover; */
        background-size: 200%;
        min-height: 100vh;
        padding: 120px 15px 50px;
    }
    
    .hero-section .container {
        padding: 1rem 0.5rem;
    }
    
    .hero-overlay {
        background: rgba(255, 255, 255, 0.3);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .rsvp-form {
        padding: 1.5rem;
    }
    
    .guest-welcome {
        font-size: 1.3rem;
    }
    
    .hero-section {
        padding: 100px 10px 40px;
    }
    
    .hero-overlay {
        background: rgba(255, 255, 255, 0.3);
    }
}

/* Landscape mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        height: auto;
        padding: 80px 15px 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .guest-welcome {
        font-size: 1.2rem;
    }
    
    .guest-invitation {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .wedding-date {
        font-size: 1.2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .hero-overlay {
        background: rgba(255, 255, 255, 0.35);
    }
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: white;
    border: 2px solid rgba(40, 167, 69, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--color-dark), #1e3a21) !important;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><text x="10" y="20" font-size="12" fill="rgba(152,217,130,0.1)">🌿</text><text x="70" y="35" font-size="10" fill="rgba(255,183,197,0.08)">🌸</text></svg>');
    background-repeat: repeat;
    pointer-events: none;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

footer .fas.fa-heart {
    color: var(--color-flower);
    animation: heartbeat 2s infinite;
}

#info {
    background: linear-gradient(45deg, #F5FBF5, #FDFFFE);
}

/* Schedule Section */
#schedule {
    background: linear-gradient(45deg, var(--color-accent), #F8FDF8);
    position: relative;
}

#schedule::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(127, 176, 105, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 183, 197, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.schedule-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(127, 176, 105, 0.15);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.schedule-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: 0 15px 35px rgba(127, 176, 105, 0.2);
}

.schedule-card::before {
    content: "🌿";
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    opacity: 0.6;
    /* Custom flower image option - uncomment when ready:
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('../img/flower1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    */
}

.badge.bg-primary {
    background-color: var(--color-primary) !important;
    position: relative;
}

.badge.bg-primary::before {
    content: "\f004";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    color: var(--color-ring);
}

/* Placeholder for missing images */
.story-image img,
.gallery-item img {
    background: linear-gradient(45deg, var(--color-soft-green), var(--color-accent));
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-secondary);
}

/* .story-image img::before,
.gallery-item img::before {
    content: "🌸";
    font-size: 3rem;
    color: var(--color-primary);
} */

/* Additional floral decorations */
/* body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><text x="20" y="40" font-size="20" fill="rgba(127,176,105,0.05)">🌿</text><text x="160" y="80" font-size="16" fill="rgba(255,183,197,0.05)">🌸</text><text x="80" y="140" font-size="18" fill="rgba(152,217,130,0.05)">🌺</text><text x="140" y="180" font-size="14" fill="rgba(127,176,105,0.04)">🍃</text></svg>');
    background-repeat: repeat;
    pointer-events: none;
    z-index: -1;
} */

/* Card enhancements */
.detail-card, .card {
    border: 2px solid var(--color-accent);
    background: linear-gradient(145deg, #ffffff, #f8fdf8);
}

.detail-card:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 15px 35px rgba(127, 176, 105, 0.2);
}

/* Form styling improvements */
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(127, 176, 105, 0.25);
    border-color: var(--color-secondary);
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Countdown Timer Styles */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.time-unit {
    text-align: center;
    background: var(--color-accent);
    border: 2px solid var(--color-secondary);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    min-width: 120px;
    box-shadow: 0 8px 25px rgba(127, 176, 105, 0.15);
}

.time-unit span {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
}

.time-unit label {
    display: block;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--color-dark);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Info Cards Styles */
.info-card {
    background: white;
    border: 2px solid var(--color-accent);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(127, 176, 105, 0.1);
    transition: all 0.3s ease;
    min-height: 370px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(127, 176, 105, 0.2);
    border-color: var(--color-secondary);
}

/* Wedding Info Card - Special styling for date/time */
.wedding-info-card {
    background: white;
    border: 2px solid var(--color-accent);
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(127, 176, 105, 0.1);
    margin-bottom: 2rem;
}

.wedding-info-card .info-icon {
    margin-bottom: 1.5rem;
}

.wedding-info-card .info-icon i {
    font-size: 3.5rem;
    color: var(--color-primary);
}

.wedding-info-card h3 {
    font-family: var(--font-primary);
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.wedding-datetime {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.wedding-info-card .text-muted {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Spacing between main info and countdown */
.wedding-info-card .countdown-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-accent);
}

.wedding-info-card .countdown-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.info-icon {
    margin-bottom: 1.5rem;
}

.info-icon i {
    font-size: 3rem;
    color: var(--color-primary);
}

.info-card h4 {
    font-family: var(--font-primary);
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.account-number {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-primary);
    background: var(--color-accent);
    padding: 0.5rem;
    border-radius: 8px;
    display: inline-block;
}

/* Wedding Color Palette */
.wedding-colors {
    margin: 1rem 0;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-circle:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Gift Details Expandable Section */
.gift-details {
    margin-top: 1rem;
    text-align: left;
}

.payment-options {
    background: var(--color-accent);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

.payment-method {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    border-left: 3px solid var(--color-primary);
}

.payment-method h6 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.payment-method h6 i {
    margin-right: 0.5rem;
}

.payment-method .account-number {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.qr-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-top: 0.5rem;
}

.qr-placeholder i {
    color: #6c757d;
}

.qr-code {
    text-align: center;
    margin-top: 0.5rem;
}

.qr-code img {
    display: block !important;
    opacity: 1 !important;
    margin: 0 auto;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gift-details hr {
    border-color: var(--color-secondary);
    margin: 1rem 0;
}

/* Attendance Confirmation Details */
.confirmation-details {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    background: rgba(127, 176, 105, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(127, 176, 105, 0.2);
    margin-bottom: 0.5rem;
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: var(--color-dark);
    min-width: 140px;
    flex-shrink: 0;
}

.detail-value {
    text-align: right;
    flex-grow: 1;
    margin-left: 1rem;
    word-break: break-word;
}

@media (max-width: 576px) {
    .confirmation-details {
        padding: 0.75rem;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-label {
        min-width: auto;
    }
    
    .detail-value {
        text-align: left;
        margin-left: 0;
    }
}

/* Photo Upload Styles */
.photo-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.photo-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.photo-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-thumbnail:hover img {
    transform: scale(1.05);
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 0.5rem;
    font-size: 0.8rem;
}

.photo-info small {
    color: #f8f9fa !important;
}

#photoPreview .card {
    border: 1px solid rgba(127, 176, 105, 0.3);
}

#photoPreview .card-img-top {
    border-radius: 4px 4px 0 0;
}

/* Upload form styling */
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(127, 176, 105, 0.25);
}

/* Mobile Responsiveness for Countdown */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 0.4rem;
        flex-wrap: nowrap;
    }
    
    .time-unit {
        min-width: 60px;
        max-width: 75px;
        padding: 0.6rem 0.3rem;
        border-radius: 10px;
    }
    
    .time-unit span {
        font-size: 1.3rem;
    }
    
    .time-unit label {
        font-size: 0.6rem;
        letter-spacing: 0px;
        margin-top: 0.3rem;
    }
}