/* 
 * KRAFTSTATION - Premium Art & Craft Store Design
 * Theme: Modern Creative Hub (Cyan, Playful, Professional)
 */

:root {
    /* --- Color Palette --- */
    /* Primary: Cyan (Client Logo Theme) */
    --primary: #4FBDBA;
    /* Vibrant Teal/Cyan for buttons/text */
    --primary-light: #A0D8D5;
    /* Soft Cyan Background (Logo match) */
    --primary-dark: #2A8C89;

    /* Accent: Yellow (Bee Icon) */
    --accent: #FFD166;
    --accent-hover: #EBC354;

    /* Secondary Accent: Red (Logo Detail) */
    --accent-red: #EF476F;

    /* Neutrals */
    --bg-body: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-light: #E0F7FA;
    /* Very light cyan tint */
    --text-main: #2D3436;
    --text-muted: #636E72;

    /* UI Elements */
    --shadow-sm: 0 4px 10px rgba(79, 189, 186, 0.15);
    --shadow-md: 0 10px 30px rgba(79, 189, 186, 0.2);
    --shadow-hover: 0 20px 40px rgba(79, 189, 186, 0.25);
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 30px;

    /* Fonts - All Sans Serif */
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* --- Global Reset & Typography --- */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Utilities */
.text-accent {
    color: var(--accent);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-light-tint {
    background-color: var(--bg-light);
}

.section-padding {
    padding: 100px 0;
}

/* --- Components --- */

/* Buttons */
.btn-custom-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(79, 189, 186, 0.3);
}

.btn-custom-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 209, 102, 0.4);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--primary);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-custom-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-3px);
}

/* Section Titles (FIXED) */
.section-header {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

/* Fix for overlapping text */
.section-header span {
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--primary-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .divider {
    height: 6px;
    width: 60px;
    background: var(--accent);
    margin: 20px auto 0;
    border-radius: 10px;
}

/* --- Navigation --- */
.navbar {
    padding: 1rem 0;
    transition: all 0.4s ease;
    background-color: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
}

.navbar-brand-img {
    height: 75px;
    width: auto;
    border-radius: 5px;
    /* Slight rounding if needed */
}

.nav-link {
    font-weight: 600;
    color: var(--text-main) !important;
    font-size: 1rem;
    margin-left: 1.5rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* --- Hero Section - REFINED PROFESSIONAL LOOK --- */
.hero-section {
    position: relative;
    padding: 160px 0 200px;
    text-align: center;
    /* Cleaner Gradients */
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    overflow: hidden;
}

/* Subtler Pattern */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#4FBDBA 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.08;
    /* Reduced opacity */
    pointer-events: none;
}

/* Soft white glow center */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-wave-separator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.hero-wave-separator .shape-fill {
    fill: var(--bg-body);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo-large {
    max-width: 480px;
    width: 100%;
    margin-bottom: 2.5rem;
    /* Smoother, professional float animation */
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(79, 189, 186, 0.15));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
}

.hero-tagline span {
    color: var(--primary-dark);
}

.hero-tagline::after {
    content: '';
    display: block;
    width: 40%;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 10px;
}

/* --- About Section --- */
.about-img-box {
    position: relative;
    padding: 20px;
}

.about-main-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.about-experience-badge {
    position: absolute;
    bottom: 50px;
    left: -20px;
    background-color: var(--bg-white);
    padding: 20px 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-left: 5px solid var(--accent);
}

.about-experience-badge h3 {
    margin: 0;
    font-size: 2.5rem;
    color: var(--primary);
}

.about-experience-badge p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Features (Why Us) --- */
.feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.feature-icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background-color: var(--primary);
    color: var(--accent);
    /* Yellow icon on Cyan bg */
}

.feature-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* --- Products --- */
.product-category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 350px;

    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.product-category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.3s ease;
}

.product-category-card:hover .product-category-img {
    transform: scale(1.1);
}

.product-category-overlay h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.product-category-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-category-card:hover .product-category-overlay h4 {
    transform: translateY(-5px);
}

.product-category-card:hover .product-category-overlay p {
    opacity: 1;
    transform: translateY(0);
}

.product-category-card:hover .product-category-overlay {
    background: linear-gradient(to top, rgba(79, 189, 186, 0.9), transparent);
    /* Cyan overlay */
}

/* --- Gallery (Revised) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    /* Increased gap */
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    aspect-ratio: 1;
    /* Make them perfect squares */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay-text {
    opacity: 1;
    transform: translateY(0);
}

/* --- Testimonials (Text Only) --- */
.testimonial-card-modern {
    background-color: var(--bg-white);
    padding: 50px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon-large {
    font-size: 2.5rem;
    color: var(--accent);
    /* Yellow */
    margin-bottom: 20px;
    display: block;
    opacity: 0.8;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-main);
    line-height: 1.6;
}

.user-name-wrapper {
    margin-top: auto;
}

.user-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: block;
    margin-top: 5px;
}

/* --- Map Section --- */
.map-section {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    border-top: 5px solid var(--primary);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Footer (Updated SEPARATOR) --- */
.footer-dark {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

.footer-brand {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    font-weight: 700;
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-heading {
    color: var(--accent);
    /* Yellow Headings */
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-circle-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bg-white);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-circle-link:hover {
    background: var(--accent);
    color: var(--text-main);
    transform: translateY(-3px);
}

/* Separator REWORK - Match Background */
.footer-dark .border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-dark .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.togglemax-credit a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.togglemax-credit a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-section {
        padding: 150px 0 160px;
    }

    .hero-content {
        margin-top: 0;
    }

    .about-img-box {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 70px 0;
    }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    color: #fff;
}

.my-float {
    margin-top: 0;
}

/* --- Mobile Bottom Navigation --- */
.mobile-bottom-nav {
    display: none;
    /* Hidden by default on Desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    /* Higher than float button */
    padding: 10px 0;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary);
}

/* --- Responsive Adjustments for Mobile Nav --- */
@media (max-width: 768px) {

    /* Show Bottom Nav on Mobile */
    .mobile-bottom-nav {
        display: flex;
    }

    /* Adjust Float Button position to avoid overlap */
    .whatsapp-float {
        bottom: 80px;
        /* Push up above the nav bar */
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    /* Add padding to body so content isn't hidden behind nav */
    body {
        padding-bottom: 60px;
    }
}

/* --- Hero Section V2 (Redesign) --- */
.hero-section-v2 {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #e0f7fa 0%, #d7fbf9 100%);
    min-height: 85vh;
    /* Taller hero */
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background floating elements */
.hero-bg-elements i {
    position: absolute;
    opacity: 0.1;
    font-size: 2rem;
    color: var(--primary);
    pointer-events: none;
}

.fa-spin-slow {
    animation: fa-spin 12s infinite linear;
}

/* Typography */
.hero-title-v2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle-v2 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Buttons */
.btn-hero-primary {
    background-color: var(--primary);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 10px 20px rgba(79, 189, 186, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(79, 189, 186, 0.4);
    background-color: var(--primary-dark);
    color: #fff;
}

.btn-hero-outline {
    background: transparent;
    color: var(--primary-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary-dark);
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-5px);
}

/* Illustrations (Icons for now) */
.hero-illustration-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-icon-bee {
    font-size: 12rem;
    color: var(--accent);
    /* Yellow */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    animation: fly 6s ease-in-out infinite;
    transform: rotate(-10deg);
}

@keyframes fly {
    0% {
        transform: translateY(0px) rotate(-10deg);
    }

    50% {
        transform: translateY(-20px) rotate(-5deg);
    }

    100% {
        transform: translateY(0px) rotate(-10deg);
    }
}

.supplies-icon-group {
    position: relative;
    font-size: 5rem;
}

.supplies-icon-group i {
    display: block;
    margin: -20px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.supplies-icon-group i:nth-child(1) {
    transform: rotate(15deg) translateX(-30px);
}

.supplies-icon-group i:nth-child(2) {
    transform: rotate(-15deg) translateX(30px);
    font-size: 4rem;
}

.supplies-icon-group i:nth-child(3) {
    transform: rotate(5deg) translateY(-20px);
    font-size: 3rem;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .hero-section-v2 {
        padding: 120px 0 80px;
        text-align: center;
    }

    .hero-title-v2 {
        font-size: 2.8rem;
    }

    .hero-subtitle-v2 {
        font-size: 1.2rem;
    }
}

/* --- Hero Image Version --- */
.hero-main-image {
    max-height: 90vh;
    object-fit: cover;
    object-position: center;
}

.hero-overlay-content {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    z-index: 10;
}