/* ============================
   Afdal Florist - Professional Stylesheet
   ============================ */

/* --- CSS Variables --- */
:root {
    --primary: #8B5E3C;
    --primary-light: #A77B5B;
    --primary-dark: #6D4A2E;
    --accent: #D4956A;
    --accent-light: #E8B892;
    --gold: #C9A96E;
    --cream: #FDF8F3;
    --cream-dark: #F5EDE4;
    --text: #2D2D2D;
    --text-light: #6B6B6B;
    --text-muted: #999999;
    --white: #FFFFFF;
    --border: #E8E0D8;
    --shadow: 0 4px 20px rgba(139, 94, 60, 0.08);
    --shadow-lg: 0 8px 40px rgba(139, 94, 60, 0.12);
    --shadow-hover: 0 16px 48px rgba(139, 94, 60, 0.18);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.text-accent {
    color: var(--primary);
}

.section {
    padding: 100px 0;
}

/* ============================
   LOADING SCREEN
   ============================ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #1a1208 0%, #3D2B1F 50%, #2a1a10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    width: 180px;
    height: auto;
    margin-bottom: 32px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    border-radius: 4px;
    animation: loaderBar 1.8s ease-in-out forwards;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}

@keyframes loaderBar {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 94, 60, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--white);
}

.btn-sm:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
}

.btn-nav:hover {
    background: var(--primary-dark);
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
}

.nav-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-menu a {
    color: var(--text-light);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--primary);
    background: var(--cream);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
    background: var(--text);
}

/* ============================
   HERO with Slideshow & Parallax
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    animation: heroZoom 8s ease-in-out forwards;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 18, 8, 0.85) 0%, rgba(61, 43, 31, 0.75) 50%, rgba(42, 26, 16, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero h1 .text-accent {
    color: var(--accent-light);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.stat-number::after {
    content: '+';
}

.stat-number[data-decimal]::after {
    content: '';
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

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

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

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: var(--white);
    padding: 40px;
}

.about-bottom-bar {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.about-phone {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-phone-icon {
    font-size: 1.3rem;
}

.about-phone-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

.about-phone-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.about-phone-number:hover {
    opacity: 0.85;
}

.about-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================
   CATALOG
   ============================ */
.catalog-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

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

/* Category Heading */
.catalog-category-heading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px 10px;
    margin-top: 20px;
    border-top: 2px solid var(--border);
}

.catalog-category-heading:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.catalog-category-heading .category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--cream);
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.catalog-category-heading h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.catalog-category-heading p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Product Card with enhanced hover */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    border: 1px solid var(--border);
}

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

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    display: block;
    padding: 16px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    transition: transform 0.5s ease;
}

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

/* Product overlay with zoom button */
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 18, 8, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-zoom {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    transform: scale(0.8);
}

.product-card:hover .btn-zoom {
    transform: scale(1);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.new {
    background: #4CAF50;
}

.product-info {
    padding: 20px 24px 24px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 8px 0;
    color: var(--text);
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.product-footer .btn-sm {
    display: block;
    width: 100%;
    text-align: center;
}

/* ============================
   SERVICES
   ============================ */
.services {
    background: var(--cream);
}

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.3s ease;
    border: 1px solid var(--border);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================
   CLIENTS MARQUEE
   ============================ */
.clients {
    background: var(--white);
    padding-bottom: 60px;
}

.clients-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients-track {
    display: flex;
    gap: 40px;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.client-item {
    flex-shrink: 0;
    padding: 18px 36px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    transition: var(--transition);
}

.client-item:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials {
    background: var(--cream);
}

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

.testimonial-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

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

.testimonial-stars {
    color: #F59E0B;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================
   FAQ
   ============================ */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

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

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================
   CTA
   ============================ */
.cta-section {
    background: linear-gradient(135deg, #3D2B1F 0%, #5C3D2E 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================
   CONTACT
   ============================ */
.contact {
    background: var(--cream);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

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

/* ============================
   FOOTER
   ============================ */
.footer {
    background: #1A1A1A;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

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

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================
   LIGHTBOX
   ============================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
}

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

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

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    margin: 0 auto;
}

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

.lightbox-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 16px;
    font-family: var(--font-heading);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 16px 20px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ============================
   WHATSAPP FLOATING BUTTON
   ============================ */
.wa-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 14px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.wa-float:hover {
    background: #1EB954;
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.wa-float svg {
    flex-shrink: 0;
}

.wa-float-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Pulse ring animation */
.wa-float-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 2px solid #25D366;
    animation: waPulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 0; }
}

.wa-float:hover .wa-float-pulse {
    animation: none;
    opacity: 0;
}

@media (max-width: 480px) {
    .wa-float {
        padding: 14px;
        bottom: 20px;
        left: 20px;
    }

    .wa-float-text {
        display: none;
    }

    .wa-float-pulse {
        border-radius: 50%;
    }
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================
   AOS-style SCROLL ANIMATIONS
   ============================ */
[data-aos] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}
[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}
[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}
[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}
[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.85);
}
[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Staggered delays */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        gap: 50px;
    }

    .catalog-grid,
    .services-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--text) !important;
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav-menu a:hover {
        background: var(--cream) !important;
        color: var(--primary) !important;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-bottom-bar {
        flex-direction: column;
    }

    .catalog-grid,
    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .lightbox-nav {
        padding: 12px 14px;
        font-size: 1.5rem;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

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

    .btn-outline {
        color: var(--white);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .catalog-filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .loader-logo {
        width: 130px;
    }
}
