/* ========================================
   WANIEF - Agence Événementielle & Traiteur
   ======================================== */

:root {
    --primary: #bd157d;
    --primary-dark: #9a0f66;
    --secondary: #7e9441;
    --secondary-dark: #637633;
    --accent: #f49a42;
    --accent-dark: #d8822f;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f5f5f5;
    --gray-dark: #666666;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--primary));
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 30px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: var(--light);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--light);
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: all 0.3s ease;
}

.navbar.scrolled .hamburger span {
    background: var(--dark);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    transition: all 1.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(189, 21, 125, 0.85), rgba(126, 148, 65, 0.75), rgba(244, 154, 66, 0.8));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--light);
    padding: 0 20px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 25px;
}

.hero-badge span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--accent);
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.hero-content h1 {
    font-size: 6rem;
    margin-bottom: 20px;
    letter-spacing: 8px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-style: italic;
}

.hero-tagline span {
    position: relative;
    display: inline-block;
}

.hero-tagline span::before,
.hero-tagline span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: var(--accent);
}

.hero-tagline span::before {
    right: calc(100% + 20px);
}

.hero-tagline span::after {
    left: calc(100% + 20px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--accent);
}

.stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 10;
    animation: float 2s ease-in-out infinite;
}

.scroll-down span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-down i {
    font-size: 1.5rem;
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(189, 21, 125, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border-color: var(--light);
}

.btn-outline:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--light);
    color: var(--primary);
    border-color: var(--light);
}

.btn-white:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--light);
    transform: translateY(-3px);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.2s;
}

.fade-in.delay-2 {
    animation-delay: 0.4s;
}

.fade-in.delay-3 {
    animation-delay: 0.6s;
}

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

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--dark);
}

.section-header.light .subtitle,
.section-header.light h2 {
    color: var(--light);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: var(--gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    color: var(--light);
    animation: float 3s ease-in-out infinite;
}

.experience-badge .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.features-list li i {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-preview {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--light);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-preview {
    background: var(--gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(189, 21, 125, 0.8), rgba(126, 148, 65, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--light);
    transform: scale(0);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial-item {
    min-width: 400px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    scroll-snap-align: center;
    transition: all 0.4s ease;
}

.testimonial-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.testimonial-item p {
    font-size: 1.1rem;
    color: var(--light);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.client-info h4 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.client-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    background: var(--dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    clip-path: polygon(0 30%, 100% 0, 100% 70%, 0 100%);
    opacity: 0.3;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 15px;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #0a0a0a;
    padding: 80px 0 0;
    color: var(--light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-about img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--light);
}

.footer-links ul li,
.footer-services ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.page-header {
    height: 50vh;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.services-section {
    padding: 100px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail:nth-child(even) .service-image {
    order: 2;
}

.service-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(189, 21, 125, 0.3), rgba(126, 148, 65, 0.3));
    opacity: 0;
    transition: all 0.4s ease;
}

.service-image:hover::before {
    opacity: 1;
}

.service-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-content p {
    color: var(--gray-dark);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.service-features {
    margin-top: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-features li i {
    color: var(--secondary);
}

/* ========================================
   GALLERY PAGE
   ======================================== */
.gallery-section {
    padding: 100px 0;
    background: var(--gray);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--light);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-masonry .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-masonry .gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-masonry .gallery-item:nth-child(4) { grid-row: span 2; }

.gallery-masonry .gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.gallery-masonry .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(189, 21, 125, 0.9), rgba(126, 148, 65, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-masonry .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-masonry .gallery-overlay i {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-masonry .gallery-overlay span {
    color: var(--light);
    font-weight: 500;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.gallery-masonry .gallery-item:hover .gallery-overlay i,
.gallery-masonry .gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* ========================================
   BLOG PAGE
   ======================================== */
.blog-section {
    padding: 100px 0;
}

.blog-hero {
    margin-bottom: 60px;
}

.blog-hero-slider {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 500px;
}

.blog-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.6s ease;
}

.blog-slide.active {
    opacity: 1;
}

.blog-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--light);
}

.blog-slide-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.blog-slide-content p {
    opacity: 0.9;
    margin-bottom: 15px;
}

.blog-slide-content .date {
    font-size: 0.9rem;
    color: var(--accent);
}

.blog-slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.blog-slider-nav span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(189, 21, 125, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-slider-nav span.active {
    background: var(--primary);
    transform: scale(1.2);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--light);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 30px;
}

.blog-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-content h3 {
    color: var(--primary);
}

.blog-card-content p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.blog-card-meta span i {
    color: var(--primary);
    margin-right: 5px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
    padding: 100px 0;
    background: var(--gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    background: var(--light);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-info-item p {
    color: var(--gray-dark);
}

.contact-form {
    background: var(--light);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(189, 21, 125, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.contact-form .btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-tagline span::before,
    .hero-tagline span::after {
        display: none;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-badge span {
        font-size: 0.75rem;
        padding: 8px 15px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--dark);
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .about-grid,
    .service-detail,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .gallery-grid,
    .gallery-masonry {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PRICING GRID RESPONSIVE
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-grid .service-card .price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin: 15px 0 5px;
}

.pricing-grid .service-card .per-person {
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.pricing-grid .service-card .service-features {
    margin-top: 20px;
}

/* Tablet */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .pricing-grid .service-card {
        padding: 30px 20px;
    }
    
    .pricing-grid .service-card .price {
        font-size: 1.3rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .pricing-grid {
        padding: 0 10px;
    }
    
    .pricing-grid .service-card {
        padding: 25px 15px;
    }
    
    .pricing-grid .service-card .price {
        font-size: 1.1rem;
    }
    
    .pricing-grid .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .pricing-grid .service-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .testimonial-item {
        min-width: 300px;
    }
}
