/* Common CSS - Sri Selvam Arts */
/* Soft Red Theme - Premium Signage Studio Look */

/* Base Styles */
:root {
    --primary-color: #e74c3c;
    --primary-light: #ec7063;
    --primary-dark: #c0392b;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Noto Sans Tamil', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    padding-top: 80px; /* Account for fixed header height */
}

/* Ensure hero slider starts below header */
.hero-slider {
    margin-top: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

p {
    font-family: 'Noto Sans Tamil', sans-serif;
    margin-bottom: 15px;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.25);
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.25),
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: 1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: var(--white);
}


.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

/* Logo responsiveness */
@media (max-width: 768px) {
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .logo-text p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .logo-text h1 {
        font-size: 14px;
    }
    
    .logo-text p {
        font-size: 10px;
    }
}

.logo-text h1 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 0;
}

.logo-text p {
    font-size: 12px;
    color: var(--primary-light);
    margin: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.language-switcher {
    margin-left: 20px;
}

.language-switcher a {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 5px;
}

.language-switcher a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    margin: 20px auto;
    border-radius: 2px;
}

/* Inner Page Hero Sections */
.page-header,
.gallery-header,
.contact-header {
    background: url('../images/allpageherosection1.jpg') no-repeat center center/cover;
    color: var(--text-dark);
    padding: 80px 0 80px;
    text-align: center;

}

.page-header h1,
.gallery-header h1,
.contact-header h1 {
    font-size: 42px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p,
.gallery-header p,
.contact-header p {
    font-size: 18px;
    max-width: 800px;
    margin: 20px auto 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 0; /* Remove padding since header is sticky on mobile */
    }

    .hero-slider {
        margin-top: 70px; /* Account for sticky header height */
    }

    .section {
        padding: 60px 0; /* Reduce section padding on mobile */
    }

    .section-title h2 {
        font-size: 28px;
    }

    /* Mobile hero section adjustments */
    .page-header,
    .gallery-header,
    .contact-header {
        padding: 100px 0 60px;
        /* margin-top: 70px;  */
    }

    .page-header h1,
    .gallery-header h1,
    .contact-header h1 {
        font-size: 32px;
    }

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }