/* ===================== RESET و تنظیمات پایه ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    color: #4a4a4a;
    min-height: 100vh;
    padding-bottom: 120px;
}

/* ===================== هدر و ناوبری ===================== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #ec4899;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================== لوگو ===================== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: #ec4899;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ec4899, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===================== منو ===================== */
.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.menu a:hover {
    color: #ec4899;
}

/* ===================== محتوای اصلی ===================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===================== بخش قهرمان ===================== */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ffffff80, #ffe4f380);
    border-radius: 30px;
    margin: 20px 0;
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.1);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #831843;
}

.hero p {
    font-size: 1.1rem;
    color: #6b4e5e;
    margin-bottom: 30px;
}

/* ===================== کارت خدمات ===================== */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.1);
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: #ec4899;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
}

/* کانتینر عکس خدمات با اندازه ثابت */
.service-image-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
    background: #fce7f3;
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* عکس بدون بریدگی و زوم */
    background: #fce7f3;
}

.service-icon {
    font-size: 50px;
    color: #ec4899;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #831843;
}

.service-card p {
    color: #6b4e5e;
    margin-bottom: 10px;
}

.service-price {
    color: #ec4899;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* ===================== دکمه‌های اجتماعی ===================== */
.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.social-btn.instagram { 
    background: radial-gradient(circle at 30% 30%, #f9ce34, #ee2a7b, #6228d7);
}

.social-btn.telegram { 
    background: linear-gradient(145deg, #1da1f2, #0d8bd9);
}

.social-btn.whatsapp { 
    background: linear-gradient(145deg, #25d366, #128C7E);
}

.social-btn.linkedin { 
    background: linear-gradient(145deg, #0077b5, #005c8a);
}

/* ===================== گالری ===================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    aspect-ratio: 1;
    background: linear-gradient(45deg, #fbcfe8, #fae8ff);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15);
    transition: all 0.4s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===================== نظرات مشتریان ===================== */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.testimonial-card {
    background: white;
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(236, 72, 153, 0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: #ec4899;
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ec4899;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    color: #831843;
    margin-bottom: 5px;
}

.testimonial-info p {
    color: #999;
    font-size: 0.9rem;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 10px;
}

.testimonial-text {
    color: #4a4a4a;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    padding-right: 20px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    right: -5px;
    top: -10px;
    font-size: 3rem;
    color: #ec4899;
    opacity: 0.3;
}

/* ===================== فرم رزرو شناور ===================== */
.floating-booking {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    background: white;
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0 15px 50px rgba(236, 72, 153, 0.4);
    z-index: 999;
    border: 3px solid #ec4899;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.3s;
}

.booking-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.booking-form input,
.booking-form select {
    flex: 1 1 150px;
    padding: 14px 18px;
    border: 2px solid #fbcfe8;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    background: white;
    outline: none;
    transition: all 0.3s;
}

.booking-form input:focus,
.booking-form select:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}

.booking-form button {
    flex: 0 0 auto;
    padding: 14px 35px;
    background: linear-gradient(135deg, #ec4899, #d946ef);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(236, 72, 153, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.booking-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.5);
}

.booking-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.booking-message {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    display: none;
    text-align: center;
}

.booking-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.booking-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* ===================== فوتر ===================== */
footer {
    background: white;
    padding: 40px 20px 20px;
    margin-top: 60px;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.02);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: #831843;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #6b4e5e;
}

.footer-col ul li i {
    color: #ec4899;
    margin-left: 8px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 2px solid #fbcfe8;
    color: #6b4e5e;
}

/* ===================== طراحی واکنش‌گرا ===================== */
@media (max-width: 992px) {
    .floating-booking {
        padding: 20px;
    }
    
    .booking-form button {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .menu {
        gap: 12px;
    }
    
    .menu a {
        font-size: 0.8rem;
    }
    
    .floating-booking {
        padding: 15px;
        border-radius: 20px;
    }
    
    .booking-form input,
    .booking-form select,
    .booking-form button {
        flex: 1 1 100%;
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .testimonials-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .floating-booking {
        padding: 12px;
    }
    
    .booking-form {
        gap: 10px;
    }
    
    .booking-form input,
    .booking-form select,
    .booking-form button {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .booking-message {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

/* ===================== انیمیشن‌ها ===================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-message.success,
.booking-message.error {
    animation: fadeIn 0.3s ease-in-out;
}