/* ========================================
   Vrajeshbhai Fulvara - Flower Business
   Vibrant Theme Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - Vibrant Theme */
    --color-primary: #E91E63;
    --color-primary-dark: #C2185B;
    --color-primary-light: #F8BBD9;
    --color-secondary: #FF9800;
    --color-secondary-dark: #F57C00;
    --color-accent: #4CAF50;
    --color-accent-light: #A5D6A7;

    /* Neutrals */
    --color-bg: #FFF8F0;
    --color-bg-alt: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #E0E0E0;

    /* WhatsApp */
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-gujarati: 'Noto Sans Gujarati', sans-serif;

    /* Sizes */
    --header-height: 70px;
    --container-max: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ========================================
   Base Styles
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

body.gu {
    font-family: var(--font-gujarati), var(--font-primary);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.section-title {
    text-align: center;
    margin-bottom: var(--space-md);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background: var(--color-whatsapp-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-call {
    background: var(--color-secondary);
    color: white;
}

.btn-call:hover {
    background: var(--color-secondary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    font-size: 1.2rem;
}

/* ========================================
   Header
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.logo:hover {
    color: var(--color-primary);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

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

.nav-link:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.lang-toggle:hover {
    border-color: var(--color-primary);
}

.lang-en {
    color: var(--color-primary);
}

.lang-gu {
    color: var(--color-text-muted);
}

body.gu .lang-en {
    color: var(--color-text-muted);
}

body.gu .lang-gu {
    color: var(--color-primary);
}

.lang-divider {
    color: var(--color-border);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg) 50%, #FFE0B2 100%);
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23E91E6320"/><circle cx="80" cy="40" r="3" fill="%23FF980020"/><circle cx="40" cy="80" r="2" fill="%234CAF5020"/><circle cx="60" cy="10" r="2" fill="%23E91E6320"/><circle cx="10" cy="60" r="3" fill="%23FF980020"/><circle cx="90" cy="80" r="2" fill="%234CAF5020"/></svg>');
    background-size: 200px 200px;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: var(--space-2xl);
}

.hero-title {
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Section Base
   ======================================== */

.section {
    padding: var(--space-3xl) 0;
}

.section:nth-child(even) {
    background: var(--color-bg-alt);
}

/* ========================================
   About Section
   ======================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.about-text p {
    margin-bottom: var(--space-lg);
    color: var(--color-text-light);
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg);
    border-radius: var(--border-radius-sm);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-weight: 500;
}

/* ========================================
   Services Section
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.service-title {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.service-desc {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* ========================================
   Gallery Section
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

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

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
    transition: all var(--transition-normal);
}

.gallery-placeholder span {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.gallery-placeholder p {
    font-weight: 500;
    color: var(--color-text);
}

.gallery-item:hover .gallery-placeholder {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.gallery-item:hover .gallery-placeholder p {
    color: white;
}

.gallery-note {
    text-align: center;
    margin-top: var(--space-2xl);
    color: var(--color-text-light);
    font-style: italic;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

/* Contact Form */
.contact-form-container {
    background: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background: white;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

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

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-card {
    background: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

.info-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    margin-bottom: var(--space-xs);
}

.info-item a {
    color: var(--color-text);
}

.info-item a:hover {
    color: var(--color-primary);
}

.info-item p {
    color: var(--color-text-light);
    margin: 0;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: var(--space-md);
}

.quick-actions .btn {
    flex: 1;
}

/* Map */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-link {
    display: block;
    text-align: center;
    padding: var(--space-md);
    background: var(--color-bg-alt);
    font-weight: 500;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--color-text);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-brand .logo-icon {
    font-size: 2rem;
}

.footer-brand .logo-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ========================================
   Floating WhatsApp Button
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ========================================
   Lightbox
   ======================================== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius);
}

.lightbox-caption {
    color: white;
    margin-top: var(--space-md);
    font-size: 1.125rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: var(--space-md);
    transition: color var(--transition-fast);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-primary);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ========================================
   Form Success/Error States
   ======================================== */

.form-message {
    padding: var(--space-md);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.form-message.success {
    background: var(--color-accent-light);
    color: #2E7D32;
}

.form-message.error {
    background: #FFCDD2;
    color: #C62828;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: var(--space-md);
        border-bottom: 1px solid var(--color-border);
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Hero adjustments */
    .hero-content {
        padding: var(--space-lg);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    /* Quick actions */
    .quick-actions {
        flex-direction: column;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        flex-direction: column;
    }

    .feature {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .header,
    .whatsapp-float,
    .lightbox,
    .hero-buttons,
    .quick-actions {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }

    .section {
        padding: var(--space-xl) 0;
    }
}
