/* =========================================
   ISIZOTHA ART & DESIGN - GLOBAL STYLES
========================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
    /* Your three core colors as Primary, Secondary, Tertiary */
    --primary: #143C3C;       /* Dark Teal – dominant anchor */
    --secondary: #9E9C66;     /* Moss Green – supporting warmth */
    --tertiary: #F2FDFC;      /* Mint Cream – light, airy surface */

    /* New supporting palette built around the three */
    --accent: #C97A3B;        /* Warm Copper – pops against teal */
    --highlight: #E8D44D;     /* Soft Gold – bright but earthy */
    --sky: #7BB3C7;           /* Muted Sky Blue – bridges teal & mint */
    --dark: #0A1F1F;          /* Deeper Teal-Navy – richer than primary for depth */
    --light: #FDFCF5;         /* Warm Off-White – softer alternative to tertiary */
    --white: #FFFFFF;         /* Pure White – clean contrast */
    --gray: #5E6B6B;          /* Muted Teal-Gray – blends with the palette */
    --text: #0D2A2A;          /* Dark Teal for body text – softer than black */
    --text-light: #6B7A7A;    /* Muted gray-teal for secondary text */
    --border: #C8D6D5;        /* Soft cool gray for dividers, borders */
    --success: #6BAF7B;       /* Muted Sage Green – natural feedback */
    --error: #C95B4B;         /* Dusty Red – warm, not harsh */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Lato', sans-serif;

    --transition: all 0.4s ease;
    --shadow: 0 10px 30px rgba(10, 31, 31, 0.1);
    --shadow-hover: 0 15px 40px rgba(10, 31, 31, 0.15);
    --radius: 14px;
    --radius-sm: 8px;
}

/* =========================================
   GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.sign-out-local{
    color: var(--tertiary) !important;
    background: var(--secondary) !important;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--light);
    color: var(--text);
    overflow-x: hidden;
    font-weight: 400;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

p {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-light);
}

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

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

a:hover {
    color: var(--highlight);
}

.btn-custom {
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    padding: 14px 32px;
    border: none;
    transition: var(--transition);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(201, 122, 59, 0.35);
}

.btn-custom:hover {
    background: var(--highlight);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 212, 77, 0.4);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

/* =========================================
   NAVBAR
========================================= */

.navbar {
    transition: var(--transition);
    padding: 20px 0;
    background: transparent;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 31, 31, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 12px 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: var(--highlight) !important;
    font-weight: 800;
    letter-spacing: 1px;
}

.navbar-brand span {
    color: var(--accent);
}

.navbar-toggler {
    border: none;
    color: var(--white);
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-left: 10px;
    font-weight: 600;
    position: relative;
    padding: 8px 15px !important;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: "";
    width: 0;
    height: 2px;
    background: var(--highlight);
    position: absolute;
    left: 15px;
    bottom: 2px;
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover {
    color: var(--highlight) !important;
}

.nav-link:hover::after {
    width: calc(100% - 30px);
}

/* =========================================
   HERO
========================================= */

.hero-slide {
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 31, 31, 0.85) 0%,
        rgba(20, 60, 60, 0.6) 50%,
        rgba(10, 31, 31, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    max-width: 700px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--highlight);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.hero-content .btn-custom {
    background: var(--accent);
    color: var(--white);
    margin-right: 15px;
}

.hero-content .btn-outline-custom {
    border-color: var(--white);
    color: var(--white);
}

.hero-content .btn-outline-custom:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

/* =========================================
   DIVIDER
========================================= */

.pattern-divider {
    position: relative;
}

.pattern-divider::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background-image:
        linear-gradient(45deg, var(--primary) 25%, transparent 25%),
        linear-gradient(-45deg, var(--primary) 25%, transparent 25%);
    background-size: 30px 30px;
    opacity: 0.12;
}

/* =========================================
   ABOUT / TEXT WITH IMAGE
========================================= */

.about-img-wrapper {
    position: relative;
    display: inline-block;
}

.about-img-wrapper img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-img-wrapper::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: var(--radius);
    z-index: -1;
}

/* =========================================
   CARDS
========================================= */

.custom-card {
    border: none;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    background: var(--white);
    height: 100%;
}

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

.custom-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.custom-card:hover .card-img-top {
    transform: scale(1.05);
}

.custom-card .card-body {
    padding: 25px;
}

.custom-card .card-title {
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.custom-card .card-text {
    color: var(--text-light);
}

.badge-custom {
    background: var(--accent);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* =========================================
   SERVICES
========================================= */

.service-box {
    padding: 45px 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border-bottom: 4px solid transparent;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--accent);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-box:hover .service-icon {
    color: var(--accent);
    transform: scale(1.1);
}

.service-box h4 {
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 1.4rem;
}

/* =========================================
   TESTIMONIALS
========================================= */

.testimonial-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    border-left: 4px solid var(--accent);
}

.quote-icon {
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.15;
    position: absolute;
    top: 15px;
    left: 30px;
    font-family: var(--heading-font);
    line-height: 1;
}

.testimonial-box p {
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-box .client-name {
    color: var(--primary);
    font-weight: 700;
    margin-top: 15px;
}

/* =========================================
   PAGE HEADER
========================================= */

.page-header {
    background: linear-gradient(
        rgba(10, 31, 31, 0.8),
        rgba(20, 60, 60, 0.7)
    ),
    url('https://placehold.co/1920x500?text=Isizotha+Art+Studio');
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px;
    color: var(--white);
    text-align: center;
    position: relative;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
    color: var(--highlight);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   TEAM
========================================= */

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
}

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

.team-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 5px solid var(--accent);
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(201, 122, 59, 0.25);
}

.team-card h5 {
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.team-card .role {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.team-card .social-links a {
    color: var(--gray);
    margin: 0 8px;
    font-size: 1.1rem;
}

.team-card .social-links a:hover {
    color: var(--accent);
}

/* =========================================
   TABS
========================================= */

.nav-pills {
    justify-content: center;
    margin-bottom: 40px;
}

.nav-pills .nav-link {
    color: var(--text) !important;
    background: var(--white);
    margin: 5px 8px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    padding: 12px 28px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: var(--transition);
}

.nav-pills .nav-link:hover {
    border-color: var(--accent);
}

.nav-pills .nav-link.active {
    background: var(--primary);
    color: var(--white) !important;
    border-color: var(--primary);
}

/* =========================================
   GALLERY
========================================= */

.gallery-item {
    transition: all 0.5s ease;
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: var(--transition);
}

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

.gallery-item.hide {
    opacity: 0;
    transform: scale(0.9);
    display: none;
}

.filter-buttons {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--border);
    color: var(--text);
    padding: 10px 24px;
    border-radius: 50px;
    margin: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

/* =========================================
   CTA
========================================= */

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 70px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--accent);
    opacity: 0.08;
    border-radius: 50%;
}

.cta-banner::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--highlight);
    opacity: 0.08;
    border-radius: 50%;
}

.cta-banner h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.cta-banner .btn-custom {
    position: relative;
    z-index: 1;
    background: var(--accent);
}

.cta-banner .btn-custom:hover {
    background: var(--highlight);
    color: var(--dark);
}

/* =========================================
   FOOTER
========================================= */

footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 0;
}

footer h5 {
    color: var(--white);
    font-family: var(--heading-font);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    text-decoration: none;
}

footer a:hover {
    color: var(--highlight);
    padding-left: 5px;
}

footer .footer-about {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

footer .footer-links li {
    list-style: none;
    margin-bottom: 10px;
}

footer .footer-links a::before {
    content: "→ ";
    color: var(--accent);
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* =========================================
   SCROLL ANIMATION
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================
   BACK TO TOP
========================================= */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(201, 122, 59, 0.4);
    cursor: pointer;
}

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

.back-to-top:hover {
    background: var(--highlight);
    color: var(--dark);
    transform: translateY(-5px);
}

/* =========================================
   FORM STYLES
========================================= */

.form-control {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-family: var(--body-font);
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(201, 122, 59, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .navbar {
        background: var(--dark);
    }

    .navbar.scrolled {
        background: rgba(10, 31, 31, 0.98);
    }

    .navbar-collapse {
        background: var(--dark);
        padding: 20px;
        border-radius: var(--radius);
        margin-top: 10px;
    }

    .nav-link {
        padding: 12px 15px !important;
    }

    .nav-link::after {
        display: none;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .cta-banner {
        padding: 50px 30px;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .cta-banner {
        padding: 40px 25px;
        border-radius: var(--radius-sm);
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 140px 0 70px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .testimonial-box {
        padding: 30px 20px;
    }

    .service-box {
        padding: 30px 20px;
    }

    .custom-card .card-img-top {
        height: 200px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    
    .hero-slide {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn-custom,
    .btn-outline-custom {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

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


/* Floating WhatsApp Button - Right Side */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Hover Effect */
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Icon Styling */
.whatsapp-float i {
    font-size: 32px;
    animation: pulse 2s infinite;
}

/* Pulse Animation for Attention */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Optional: Tooltip on Hover */
.whatsapp-float::before {
    content: "Chat with us on WhatsApp";
    position: absolute;
    right: 70px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    pointer-events: none;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
    
    .whatsapp-float::before {
        display: none; /* Hide tooltip on mobile */
    }
}

/* Optional: Add a subtle shadow/glow effect */
@keyframes glow {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    }
}

.whatsapp-float {
    animation: glow 2s infinite;
}


@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.whatsapp-float {
    animation: bounce 2s infinite;
}

@keyframes subtle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.icon-bounce {
  animation: subtle-bounce 1.5s infinite;
}