/* Common Styles for Kanchan Gadakh Website */

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

body {
    font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #3A3A3A;
    background-color: #ffffff;
}

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

/* Section Styling */
.section {
    padding: 80px 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #000000;
}

.section-title span {
    color: #D4447E;
}

/* Client Logos Slider */
.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    animation: scroll 25s linear infinite;
    width: fit-content;
}

.logo-item {
    flex-shrink: 0;
    padding: 0;
    background: transparent;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 281px;
    height: 179px;
}

.logo-item img {
    width: 281px;
    height: 179px;
    object-fit: contain;
    object-position: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* Event Gallery Section */
.event-gallery {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
    align-items: start;
}

.gallery-middle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.wide-item {
    grid-column: span 2;
}

.gallery-celebrity,
.gallery-cultural {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(123, 79, 191, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(123, 79, 191, 0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: all 0.4s ease;
}

.portrait-left img,
.portrait-right img {
    min-height: 400px;
}

.gallery-middle .gallery-item img {
    height: 250px;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(123, 79, 191, 0.9), transparent);
    padding: 20px;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(123, 79, 191, 1), rgba(123, 79, 191, 0.3));
}

.gallery-overlay p {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #F8F0F7 0%, #F0E5F5 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(123, 79, 191, 0.2);
}

.testimonial-stars {
    color: #FFB800;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B4FBF 0%, #5E3A9A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    overflow: hidden;
}

.testimonial-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 3px;
}

.testimonial-details p {
    font-size: 14px;
    color: #666;
}

/* Footer */
footer {
    background: #2C2C2C;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

/* Responsive Design - Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .section-title {
        font-size: 32px;
    }

    .logo-item {
        width: 200px;
        height: 130px;
    }

    .logo-item img {
        width: 200px;
        height: 130px;
    }

    .event-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .gallery-middle {
        grid-column: span 2;
    }

    .gallery-celebrity,
    .gallery-cultural {
        display: contents;
    }
}

/* Responsive Design - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .logo-item {
        width: 180px;
        height: 115px;
        margin: 0 10px;
    }

    .logo-item img {
        width: 180px;
        height: 115px;
    }

    .event-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-middle {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-celebrity,
    .gallery-cultural {
        display: contents;
    }

    .portrait-left img,
    .portrait-right img {
        min-height: 280px;
    }

    .gallery-middle .gallery-item img {
        height: 200px;
    }

    .wide-item {
        grid-column: span 1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-avatar {
        width: 80px;
        height: 80px;
        font-size: 18px;
    }

    .testimonial-details h4 {
        font-size: 14px;
    }

    .testimonial-details p {
        font-size: 12px;
    }

    footer {
        padding: 30px 20px;
        font-size: 14px;
    }
}

/* Responsive Design - Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .section-title {
        font-size: 20px;
    }

    .logo-item {
        width: 150px;
        height: 95px;
        margin: 0 8px;
    }

    .logo-item img {
        width: 150px;
        height: 95px;
    }

    .gallery-middle .gallery-item img {
        height: 180px;
    }

    .portrait-left img,
    .portrait-right img {
        min-height: 250px;
    }
}
