/* css/style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(-45deg, #f5f1e8, #f0ebe0, #f8f4eb, #f2ede3);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #5c5346;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 900px;
    background-color: rgba(255, 253, 248, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(92, 83, 70, 0.08);
    padding: 50px 30px;
    border: 1px solid rgba(220, 210, 190, 0.3);
}

.header-decoration {
    height: 4px;
    background: linear-gradient(to right, #b8a98f, #d4c5ab);
    width: 120px;
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

h1 {
    color: #8a7c68;
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 20px;
}

h1 span {
    font-weight: 600;
    color: #a39276;
}

h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: rgba(168, 155, 133, 0.3);
}


h2 {
    color: #8a7c68;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 20px;
}

h2 span {
    font-weight: 600;
    color: #a39276;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: rgba(168, 155, 133, 0.3);
}

.wedding-date {
    font-size: 2.2rem;
    color: #9e8f7a;
    margin: 25px 0 30px 0;
    font-weight: 400;
    letter-spacing: 2px;
    padding: 12px 25px;
    background-color: rgba(179, 168, 147, 0.08);
    border-radius: 10px;
    display: inline-block;
    border: 1px solid rgba(179, 168, 147, 0.15);
}

.construction-banner {
    font-size: 2rem;
    color: #9e8f7a;
    font-weight: 700;
    margin: 30px 0;
    padding: 20px 40px;
    background-color: rgba(179, 168, 147, 0.15);
    border-radius: 15px;
    border: 2px solid rgba(179, 168, 147, 0.3);
    display: inline-block;
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.subtitle {
    font-size: 1.4rem;
    color: #9e8f7a;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
}

.message {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #6d6252;
    margin-bottom: 40px;
    padding: 0 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.countdown-container {
    margin: 40px 0;
    padding: 35px 20px;
    background-color: rgba(255, 253, 248, 0.7);
    border-radius: 15px;
    border: 2px dashed rgba(179, 168, 147, 0.3);
}

.countdown-title {
    font-size: 1.5rem;
    color: #8a7c68;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

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

.countdown-item {
    background: linear-gradient(135deg, #b8a98f, #d4c5ab);
    color: #fff;
    border-radius: 15px;
    padding: 25px 15px;
    min-width: 120px;
    box-shadow: 0 10px 20px rgba(184, 169, 143, 0.2);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-number {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.rings-container {
    margin: 50px 0 40px 0;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    background: linear-gradient(135deg, #f5f1e8, #f0ebe0);
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #b8a98f;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: inline-block;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.rings-image {
    width: 250px;
    height: 167px;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

.closing-message {
    margin-top: 50px;
    font-size: 1.8rem;
    color: #8a7c68;
    font-style: italic;
    letter-spacing: 1px;
    padding-top: 25px;
    border-top: 1px solid rgba(179, 168, 147, 0.2);
    line-height: 1.4;
}

.closing-names {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 10px;
    color: #a39276;
    letter-spacing: 0.5px;
}

.save-date {
    margin-top: 30px;
    font-size: 1.2rem;
    color: #8a7c68;
    background-color: rgba(179, 168, 147, 0.08);
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    border: 1px solid rgba(179, 168, 147, 0.15);
}

.save-date i {
    margin-right: 10px;
    color: #a39276;
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .wedding-date { font-size: 1.8rem; }
    .construction-banner { 
        font-size: 1.6rem; 
        padding: 15px 30px;
    }
    .subtitle { font-size: 1.2rem; }
    .countdown-item { 
        min-width: 90px; 
        padding: 20px 10px;
    }
    .countdown-number { font-size: 2.2rem; }
    .countdown { gap: 15px; }
    .container { padding: 40px 20px; }
    .rings-image {
        width: 220px;
        height: 147px;
    }
    .image-frame {
        padding: 12px;
    }
    .closing-message { font-size: 1.5rem; }
    .closing-names { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.6rem; }
    .wedding-date { font-size: 1.5rem; }
    .construction-banner { 
        font-size: 1.3rem; 
        padding: 12px 20px;
        letter-spacing: 1px;
    }
    .countdown-item { 
        min-width: 75px; 
        padding: 15px 8px;
    }
    .countdown-number { font-size: 1.8rem; }
    .countdown { gap: 10px; }
    .message { font-size: 1.1rem; }
    .rings-image {
        width: 200px;
        height: 134px;
    }
    .image-frame {
        padding: 10px;
    }
    .closing-message { font-size: 1.2rem; }
    .closing-names { font-size: 1.1rem; }
}