﻿/* ===== GLOBAL STYLES (merged theme.css + global.css) ===== */
:root {
    /* Color palette */
    --primary: #4a1c6a;
    --secondary: #2c8ecb;
    --accent: #d96d1d;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --light-purple: #7d3c98;
    --success: #27ae60;
    --light-bg: #f5f7fb;
    --light-gray: #f0f2f5;
    --warm-beige: #f9f5f0;
    --warm-orange: #ff9e4a;
    --warm-brown: #8b5a2b;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    
    /* Font families */
    --font-primary: 'Hind Vadodara', sans-serif;
    --font-gujarati: 'Noto Sans Gujarati', sans-serif;
    
    /* Spacing units */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
    
    /* Border radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-tooltip: 1060;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light-bg);
}

/* Gujarati text utility */
.gujarati {
    font-family: var(--font-gujarati);
    display: block;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: var(--space-sm);
    /*color: var(--primary);*/
}

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--accent);
}

/* Global Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--light-purple));
    color: white;
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--light-purple), var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-light:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}



/* Global Card Styles */
.card {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Global Section Styles */
.section {
    padding: var(--space-xxl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-md);
}

.section-title h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: var(--space-sm) auto;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Global Utilities */
.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-white {
    background-color: white !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary), var(--light-purple)) !important;
    color: white;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--light-purple));
    color: white;
}

/* Responsive helpers */
.mobile-only {
    display: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary), #3a1b5d);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Social Media Links */
.footer-social {
    margin-top: 1.5rem;
}

.footer-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Newsletter Form */
.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
    padding: 0.5rem 1rem;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }
}
