* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e8c4c4;
    --secondary: #f8f0e5;
    --accent: #d9b8a9;
    --dark: #6c5b5b;
    --gold: #d4af37;
    --text: #4a3f3f;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: #ffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://i.pinimg.com/736x/ca/7e/6b/ca7e6b98af9dcf9270039bc275ea0bd4.jpg') center/cover no-repeat;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.couple-names {
    font-family: 'Dancing Script', cursive;
    font-size: 6rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.wedding-date {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Section Styles */
section {
    padding: 20px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--dark);
    position: relative;
}

.section-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: var(--accent);
    margin: 10px auto;
}
.footer-title {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: var(--withe);
    position: relative;
}

.footer-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: var(--accent);
    margin: 10px auto;
}
.text-style {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: var(--dark);
    position: relative;
}
.text-style-other {
    text-align: center;
    margin-bottom: 50px;
    font-size: 24px;;
    font-size: 1.3rem;
    color: var(--dark);
    position: relative;
}
.date-text-style {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    color: var(--dark);
    position: relative;
}
/* Our Story */
.our-story {
    background-color: var(--withe);
}

.story-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.story-text {
    flex: 1;
}

.story-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.story-image:hover img {
    transform: scale(1.05);
}

/* Details */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.detail-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.detail-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

/* Countdown */
.time-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Reduced gap for better mobile display */
    font-family: monospace, monospace;
    font-size: 24px;
    margin-top: 50px;
}

.time-block {
    text-align: center;
    min-width: 50px;
    position: relative;
    padding: 0 15px; /* Padding on both sides */
}

.time-block:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -5px; /* Position between blocks */
    top: 30%; /* Better vertical centering */
    transform: translateY(-50%);
    color: #888;
    font-weight: bold;
    font-family: 'Dancing Script', cursive;
}

.number {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--dark);
}

.label {
    margin-top: 4px;
    font-size: 18px;
    color: var(--text);
    font-family: 'Dancing Script', cursive;
}

#countdown-message {
    text-align: center;
    margin-top: 30px;
    font-size: 22px;
    font-weight: bold;
    color: #b22222;
}

/* Buttons */
.fancy-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    color: #6c5b5b;;
    background: var(--withe);
    border-radius: 30px;
    border: none;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Dancing Script', cursive;
}

.fancy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .couple-names {
        font-size: 4rem;
    }
    
    .story-content {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }
    
    
    .time-container {
        gap: 5px; /* Tighter gap for mobile */
    }
    
    .time-block {
        padding: 0 10px; /* Slightly less padding */
        min-width: 40px; /* Smaller minimum width */
    }
    
    .time-block:not(:last-child)::after {
        right: -3px; /* Adjust separator position */
        font-size: 0.9em; /* Slightly smaller separator */
    }
    
    .number {
        font-size: 1.5rem; /* Smaller numbers */
    }
    
    .label {
        font-size: 14px; /* Smaller labels */
    }
}