/* Import Tiffany-inspired fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Libre Baskerville', 'Times New Roman', serif;
    background: #ffffff;
    color: #2c2c2c;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* Mouse follower effect */
.mouse-follower {
    position: fixed;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #81D4E6, #6BC4DB);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    box-shadow: 0 0 15px rgba(129, 212, 230, 0.4);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    padding: 60px 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    animation: fadeInDown 1s ease-out;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    border: 2px solid #81D4E6;
    box-shadow: 0 4px 20px rgba(129, 212, 230, 0.2);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2c2c2c;
    letter-spacing: -0.5px;
    text-shadow: none;
}

.slogan {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #81D4E6;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Countdown section */
.countdown-section {
    text-align: center;
    margin: 80px 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.countdown-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2c2c2c;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.time-unit {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 25px 20px;
    min-width: 110px;
    box-shadow: 0 2px 15px rgba(129, 212, 230, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-unit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(129, 212, 230, 0.2);
    border-color: #81D4E6;
}

.time-unit .number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #81D4E6;
    text-shadow: none;
}

.time-unit .label {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    color: #666;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
}

/* Categories */
.categories {
    text-align: center;
    margin: 80px 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.categories h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2c2c2c;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.category-item {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 25px 20px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #2c2c2c;
    box-shadow: 0 2px 10px rgba(129, 212, 230, 0.08);
    letter-spacing: 0.3px;
}

.category-item:hover {
    background: #81D4E6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 212, 230, 0.25);
    border-color: #81D4E6;
}

/* Slider section */
.slider-section {
    margin: 60px 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.slider-container {
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
}

.slider {
    display: flex;
    height: 100%;
    animation: slide 20s infinite linear;
}

.slider img {
    min-width: 300px;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.slider img:hover {
    transform: scale(1.1);
}

/* Action buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 60px 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.btn {
    padding: 18px 35px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    min-width: 160px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #81D4E6;
    color: white;
    box-shadow: 0 3px 12px rgba(129, 212, 230, 0.3);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 212, 230, 0.4);
    background: #6BC4DB;
}

.btn-secondary {
    background: transparent;
    color: #81D4E6;
    border: 1px solid #81D4E6;
    box-shadow: 0 2px 8px rgba(129, 212, 230, 0.2);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(129, 212, 230, 0.3);
    background: #81D4E6;
    color: white;
}

.btn-accent {
    background: #f8f8f8;
    color: #2c2c2c;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
}

.modal-content {
    background: #ffffff;
    margin: 8% auto;
    padding: 40px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    width: 90%;
    max-width: 480px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 10px 30px rgba(129, 212, 230, 0.15);
}

.close {
    color: #999;
    float: right;
    font-size: 24px;
    font-weight: normal;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #81D4E6;
}

.modal h2 {
    font-family: 'Playfair Display', serif;
    color: #2c2c2c;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: -0.3px;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal input,
.modal textarea {
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #ffffff;
    color: #2c2c2c;
    font-size: 1rem;
    font-family: 'Libre Baskerville', serif;
    transition: border-color 0.3s ease;
}

.modal input:focus,
.modal textarea:focus {
    outline: none;
    border-color: #81D4E6;
    box-shadow: 0 0 8px rgba(129, 212, 230, 0.2);
}

.modal input::placeholder,
.modal textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.file-note {
    font-size: 0.9rem;
    color: #ffd93d;
    font-style: italic;
    margin: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    margin-top: 80px;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
    color: #666;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
}

.social-links a {
    color: #81D4E6;
    font-size: 1.4em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: #6BC4DB;
    transform: translateY(-2px);
}

.footer p {
    font-family: 'Cormorant Garamond', serif;
    color: #888;
    margin: 15px 0;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 15px rgba(129, 212, 230, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(129, 212, 230, 0.5);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(129, 212, 230, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(129, 212, 230, 0.4);
    }
}

/* Mouse trail effect */
.mouse-trail {
    position: fixed;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(129, 212, 230, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: trailFade 0.5s ease-out forwards;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Fireworks animation */
.firework {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
}

.firework::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff6b9d;
    animation: fireworkExplosion 0.6s ease-out forwards;
}

@keyframes fireworkExplosion {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 15px;
    }
    
    .time-unit .number {
        font-size: 1.8rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .slider img {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 10px;
    }
    
    .time-unit .number {
        font-size: 1.5rem;
    }
}