:root {
    --primary-color: #4CAF50;
    --secondary-color: #E91E63;
    --text-color: #2E7D32;
    --bg-gradient: linear-gradient(135deg, #e0f7e0, #a5d6a7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', 'Segoe UI', Tahoma, sans-serif;
}

body {
    background: var(--bg-gradient);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

/* نوار ناوبری */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(76, 175, 80, 0.95);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-right: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* صفحه اصلی */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin-bottom: 40px;
    animation: fadeIn 2s ease-out;
}

.cta-button {
    padding: 15px 40px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.6);
}

/* گالری */
.gallery-section {
    padding: 80px 20px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    aspect-ratio: 1/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* تایمر */
.countdown-section {
    padding: 80px 20px;
    background: var(--bg-gradient);
    text-align: center;
}

.countdown-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.progress-container {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    margin: 30px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 0;
    transition: width 1s;
}

.countdown {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.countdown-label {
    font-size: 1rem;
    color: var(--text-color);
}

/* کامنت‌ها */
.comments-section {
    padding: 80px 20px;
    background: white;
}

.comments-container {
    max-width: 800px;
    margin: 0 auto;
}

.comment-form {
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #d81b60;
    transform: translateY(-3px);
}

.comment-list {
    margin-top: 40px;
}

.comment {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    color: var(--secondary-color);
}

.comment-date {
    color: #888;
    font-size: 0.9rem;
}

/* افکت باران قلب */
.heart {
    position: absolute;
    pointer-events: none;
    animation: float 5s ease-in infinite;
    opacity: 0;
    font-size: 24px;
    color: var(--secondary-color);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* رسپانسیو */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .nav-links {
        margin-top: 15px;
    }
    
    .nav-links li {
        margin-right: 15px;
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .countdown {
        flex-direction: column;
        gap: 20px;
    }
}

.lightbox {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.9);
z-index: 1000;
display: flex;
justify-content: center;
align-items: center;
}

.lightbox-content {
text-align: center;
max-width: 80%;
max-height: 80vh;
}

.lightbox-image {
max-width: 100%;
max-height: 70vh;
object-fit: contain;
border-radius: 10px;
}

.lightbox-caption {
color: white;
margin-top: 15px;
font-size: 1.2rem;
}

.lightbox-close {
position: absolute;
top: 20px;
left: 20px;
background: none;
border: none;
color: white;
font-size: 2rem;
cursor: pointer;
}

.lightbox-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255,255,255,0.3);
border: none;
color: white;
font-size: 2rem;
width: 50px;
height: 50px;
border-radius: 50%;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}

.lightbox-prev {
left: 20px;
}

.lightbox-next {
right: 20px;
}

.lightbox-nav:hover {
background: rgba(255,255,255,0.5);
}

/* استایل دکمه تبریک */
.congrat-btn {
padding: 15px 30px;
background: linear-gradient(45deg, #ff69b4, #ff1493);
color: white;
border: none;
border-radius: 50px;
font-size: 1.2rem;
cursor: pointer;
margin-top: 20px;
box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
transition: all 0.3s;
position: relative;
overflow: hidden;
}

.congrat-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(255, 20, 147, 0.6);
}

/* افکت‌های ویژه */
.celebration-effect {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1001;
}

.flower {
position: absolute;
background-size: contain;
background-repeat: no-repeat;
opacity: 0;
animation: fall linear forwards;
}

@keyframes fall {
to {
transform: translateY(100vh) rotate(360deg);
opacity: 0;
}
}

.confetti {
position: absolute;
width: 15px;
height: 15px;
opacity: 0;
animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
to {
transform: translateY(100vh) rotate(720deg);
opacity: 0;
}
}

.message-bubble {
position: absolute;
background: white;
padding: 15px;
border-radius: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
animation: float-up 3s forwards;
max-width: 200px;
text-align: center;
font-weight: bold;
color: #ff1493;
}

@keyframes float-up {
0% {
transform: translateY(0) scale(0.5);
opacity: 0;
}
50% {
transform: translateY(-100px) scale(1);
opacity: 1;
}
100% {
transform: translateY(-200px) scale(0);
opacity: 0;
}
}

.magic-btn {
position: fixed;
bottom: 30px;
right: 30px;
padding: 15px 25px;
background: linear-gradient(45deg, #ff1493, #ff69b4);
color: white;
border: none;
border-radius: 50px;
font-size: 1.3rem;
cursor: pointer;
z-index: 1000;
box-shadow: 0 5px 20px rgba(255, 20, 147, 0.5);
transition: all 0.3s;
}

.magic-btn:hover {
transform: scale(1.1);
box-shadow: 0 8px 25px rgba(255, 20, 147, 0.7);
}

.fullscreen-effect {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999;
pointer-events: none;
overflow: hidden;
}

.magic-particle {
position: absolute;
border-radius: 50%;
animation: float-up linear forwards;
}

.heart-particle {
position: absolute;
font-size: 24px;
animation: float-heart linear forwards;
}

@keyframes float-up {
to {
transform: translateY(-100vh) rotate(360deg);
opacity: 0;
}
}

@keyframes float-heart {
to {
transform: translateY(-100vh) rotate(720deg) scale(1.5);
opacity: 0;
}
}

.special-message {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255, 255, 255, 0.9);
padding: 40px;
border-radius: 20px;
text-align: center;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
z-index: 1001;
animation: zoomIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
max-width: 80%;
}

@keyframes zoomIn {
from {
transform: translate(-50%, -50%) scale(0.5);
opacity: 0;
}
to {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}
}

@keyframes zoomOut {
from {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}
to {
transform: translate(-50%, -50%) scale(0);
opacity: 0;
}
}