/* 
    Stinglers - Modern Design System
    Colors:
    - Primary Teal: #62D2C3
    - Secondary Purple: #A88BEB (from logo gradient)
    - Dark: #111111
    - Light: #F8F9FA
    - Cyan Bg: #E0F7F5
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
    --black:#000;
    --white:#fff;
    --primary-teal: #62D2C3;
    --secondary-purple: #A88BEB;
    --dark-bg: #111111;
    --light-bg: #F8F9FA;
    --cyan-bg: #E0F7F5;
    --text-main: #333333;
    --transition: all 0.3s ease;
    --font-stack: "Stack Sans Headline", "Stack Sans", "Inter", sans-serif;
}

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Global Container Constraints */
.container-fluid {
    max-width: 1660px;
    margin-left: auto;
    margin-right: auto;
}

.text-teal { color: var(--primary-teal); }
.bg-teal { background-color: var(--primary-teal); }
.bg-dark-custom { background-color: var(--dark-bg); }
.bg-cyan-custom { background-color: var(--cyan-bg); }

/* Navbar */
.navbar {
    padding: 1.5rem 5rem; /* Large side padding as per Figma fluid layout */
    transition: var(--transition);
    background: #000000 !important;
}

.navbar.scrolled {
    padding: 1rem 5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.navbar-brand img {
    height: 58px;
}

/* Animated Hamburger */
.hamburger-icon {
    width: 30px;
    height: 20px; /* Reduced height for better proportions */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:active, .navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Animation to X */
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-link {
    font-weight: 400;
    color: #ffffff !important;
    font-size: 1.11111rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
    text-transform: none !important; /* Force Title Case */
    letter-spacing: 0.2px;
}

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

.nav-link.active {
    color: var(--primary-teal) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -12px; /* Move slightly lower to match figma spacing */
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-teal);
    border-radius: 2px;
}

.login-link {
    font-weight: 400;
    border: none !important;
    padding: 0 !important;
    margin-right: 35px !important; /* Increased spacing to Login */
    font-size: 1.16669rem;
    color: #fff !important;
    text-decoration: none !important; /* Removed underline */
}

.cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #FF0000;
    color: #fff;
    font-size: 0.83331rem; /* Updated as per Figma spec */
    font-weight: 700;
    width: 20px; /* Increased to 20px */
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: #000;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    visibility: hidden; /* Hide inactive slides to prevent stacking */
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.slick-active {
    visibility: visible;
    opacity: 1;
    z-index: 10;
}

.hero-carousel,
.hero-carousel .slick-list, 
.hero-carousel .slick-track {
    height: 100%;
}

.hero-content {
    max-width: 810px;
    text-align: left;
    padding-left: 15px;
}

.hero-content h1 {
    font-family: "Stack Sans Headline", var(--font-stack);
    font-size: 3.33331rem;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 25px;
    color: #fff;
}

.hero-content p {
    font-family: "Stack Sans Headline", var(--font-stack);
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 810px;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.9);
}

.btn-teal {
    background-color: var(--primary-teal);
    color: #000; /* Black text as per some Figma button styles, or white? I'll check. */
    padding: 18px 45px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-teal:hover {
    background-color: #55c1b3;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(98, 210, 195, 0.4);
    color: #000;
}

/* Custom Hero Controls Styles */
.hero-controls {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    z-index: 100;
}

.hero-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hero-dots .slick-dots {
    position: static;
    display: flex !important;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
}

.hero-dots .slick-dots li {
    margin: 0 10px;
    width: auto !important; /* Prevent overlapping by allowing li to expand */
    height: 10px !important;
    display: flex;
    align-items: center;
}

.hero-dots .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    margin: 0;
    background: rgba(255,255,255,0.4);
    border: none;
    font-size: 0;
    line-height: 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease; /* Smooth animation */
    border-radius: 50px; /* For capsule look on active */
    outline: none;
    cursor: pointer;
    position: relative;
}

/* Remove default black dot from slick theme */
.hero-dots .slick-dots li button:before {
    display: none !important;
}

.hero-dots .slick-dots li.slick-active button {
    background: var(--primary-teal);
    width: 80px; /* 80px width for active dot */
    height: 10px;
}

.hero-arrows div {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: var(--transition);
    font-size: 1rem;
}

.hero-next {
    border-color: var(--primary-teal) !important;
}

.hero-arrows div:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: #000;
}

/* Hide default slick controls */
.hero-carousel .slick-prev,
.hero-carousel .slick-next,
.hero-carousel .slick-dots {
    display: none !important;
}

.hero-carousel .slick-prev:hover, 
.hero-carousel .slick-next:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
}

/* Promo Bar */
.promo-bar {
    background: linear-gradient(90deg, var(--primary-teal), var(--secondary-purple));
    color: #fff;
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-title {
    font-family: "Stack Sans Headline", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}

.about-content p {
    font-family: "Stack Sans Headline", sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.2rem;
}

.about-img-wrapper img {
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

/* Collections Section */
.collections-section {
    background-color: #F6F6F6; /* Light grey background from Figma */
}

.collection-page-title {
    font-family: "Stack Sans Headline", var(--font-stack);
    font-size: 2.625rem; /* Adjusted based on screenshot */
    font-weight: 500;
    color: #000;
    margin-bottom: 0;
}

.breadcrumb-divider {
    margin-bottom: 60px !important;
}

.breadcrumb-divider .divider-line {
    height: 1px;
    background-color: #e5e5e5; /* Lighter, thinner line */
}

.breadcrumb-divider .divider-diamond {
    color: #d1d1d1; /* Lighter diamond */
    font-size: 8px; /* Much smaller diamond */
}

.breadcrumb-divider h5 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.5px;
}

.collection-item.large .collection-img-box {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f8f8f8;
    border-radius: 12px; /* Added border radius from screenshot */
    margin-bottom: 20px;
}

.collection-item.large .collection-item-title {
    font-size: 1.5rem; /* Adjusted based on screenshot */
    font-weight: 400;
    color: #000;
    line-height: 150%;
}

.collection-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.collection-item {
    transition: var(--transition);
}

.collection-img-box {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 3px solid #F6F6F6; /* Matches section background to remain invisible */
}

.collection-img-box img {
    transition: transform 0.5s ease;
}

.collection-item:hover .collection-img-box {
    border-color: #62D2C3; /* High-visibility teal border on hover */
}

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

.collection-item-title {
    font-family: "Stack Sans Headline", sans-serif;
    font-size: 1.5rem; /* Updated to Figma spec */
    font-weight: 400;
    color: #000;
    line-height: 150%;
}

/* Trust Section */
.trust-title {
    font-family: "Stack Sans Headline", sans-serif;
    font-size: 2.2.625rem;
    font-weight: 500;
    color: #000;
}

.trust-box {
    background-color: #F1FDFC; /* Light mint/cyan background from Figma */
    padding: 2.125rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}

.trust-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(98, 210, 195, 0.15);
}

.trust-box h4 {
    font-family: "Stack Sans Headline", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 150%;
    color: rgba(1, 1, 1, 0.80);
}

.trust-box p {
    font-family: "Stack Sans Headline", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    max-width: 260px;
}

.trust-box-number {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-family: "Stack Sans Headline", sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(98, 210, 195, 0.2); /* Faded teal number */
    pointer-events: none;
}

.trust-img-box img {
    border-radius: 12px;
}

/* Testimonials Section */
.section-divider {
    width: 100%;
}

.divider-line {
    height: 1px;
    background-color: #e0e0e0;
}

.divider-dot {
    width: 6px;
    height: 6px;
    background-color: #62D2C3;
    border-radius: 50%;
}

.testimonials-title {
    font-family: "Stack Sans Headline", sans-serif;
    font-size: 2.66669rem;
    font-weight: 700;
    color: #000;
}

.testimonial-slider .slick-track {
    display: flex !important;
    align-items: stretch;
    padding: 30px 0; /* Space for scaling */
}

.testimonial-slider .slick-slide {
    height: auto !important;
    display: flex !important;
    justify-content: center;
}

.testimonial-slider .slick-slide > div {
    width: 100%;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.is-center {
    transform: scale(1.1); /* Increased height and width for center card */
    border-color: #62D2C3 !important;
    box-shadow: 0 15px 45px rgba(98, 210, 195, 0.1) !important;
    z-index: 5;
}

.quote-icon {
    line-height: 0;
}

.stars i {
    font-size: 0.9rem;
    margin: 0 1px;
}

.avatar-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-controls .testi-prev,
.testimonial-controls .testi-next {
    width: 50px;
    height: 50px;
    border: 1px solid #62D2C3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: #62D2C3; /* Teal icons as per request */
}

.testimonial-controls .testi-prev.disabled,
.testimonial-controls .testi-next.disabled {
    opacity: 0.95;
    cursor: not-allowed;
    border-color: #e0e0e0;
    color: #e0e0e0;
}

.testimonial-controls .testi-prev:not(.disabled):hover,
.testimonial-controls .testi-next:not(.disabled):hover {
    background-color: #62D2C3;
    color: #fff;
}

.testimonial-dots .slick-dots {
    position: static;
    display: flex !important;
    justify-content: center;
    align-items: center; /* Center dots vertically */
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.testimonial-dots .slick-dots li {
    margin: 0 4px; /* Tight spacing as per screenshot */
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.testimonial-dots .slick-dots li button {
    width: 10px;
    height: 10px;
    background: #D9D9D9;
    border: none;
    border-radius: 50%;
    font-size: 0;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
}

.testimonial-dots .slick-dots li button:before {
    display: none !important; /* Hide Slick default dots/numbers */
}

.testimonial-dots .slick-dots li.slick-active {
    width: 80px;
}

.testimonial-dots .slick-dots li.slick-active button {
    background: #62D2C3;
    width: 80px;
    height: 10px;
    border-radius: 10px;
}

/* Contact Section */
.contact-section {
    background-color: #F6F6F6;
}

.contact-form .form-control {
    background-color: #efefef;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    color: #333;
}

.contact-form .form-control::placeholder {
    color: #a0a0a0;
}

.contact-info h2 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--black);
    font-size: 2.625rem;
    margin-bottom: 40px;
}

.info-block p {
    margin-bottom: 5px;
    font-size: 1.375rem;
    font-weight: 300;
    line-height: normal;
}

.info-block p a {
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease-in;
}

.info-block p a:hover {
    color: var(--primary-teal);
}

.info-block .divider-line-small {
    width: 20px;
    height: 3px;
    background-color: #000;
    margin-bottom: 15px;
}

.btn-submit-message {
    background-color: var(--primary-teal);
    color: #000;
    border: none;
    padding: 18px 60px; /* Adjusted padding for better proportions */
    border-radius: 12px; /* Adjusted radius from screenshot */
    font-weight: 600;
    font-size: 1.25rem;
    box-shadow: 0 4px 0 #4db39e; /* Subtle bottom shadow for 3D effect */
    transition: var(--transition);
}

.btn-submit-message:hover {
    background-color: #4db39e;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--black);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-logo {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 20px;
    display: block;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-teal) !important;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-teal);
}


/* Responsive Adjustments */
@media (max-width: 1400px) {
    .navbar, .navbar.scrolled {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

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

@media (max-width: 991px) {
    .navbar, .navbar.scrolled {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
    .navbar-brand img {
        height: 40px;
    }
    .cart-icon {
        flex-shrink: 0;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .cart-icon svg {
        width: 28px;
        height: 28px;
    }
    .nav-link {
        margin: 10px 0;
        text-align: center;
        font-size: 1.1rem;
    }
    .nav-link.active::after {
        display: none;
    }
    .hero-section {
        height: 100vh;
        min-height: 600px;
        padding: 0;
    }
    .hero-slide {
        height: 100vh;
        min-height: 600px;
    }
    .hero-content {
        text-align: center;
        padding-left: 0;
        margin: 0 auto;
        padding-top: 60px; /* Space for navbar */
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
        margin: 0 auto 30px;
    }
    .hero-controls {
        bottom: 30px;
    }
    .hero-dots .slick-dots li.slick-active button {
        width: 40px; /* Smaller active dot for mobile */
    }
    
    .about-title {
        font-size: 2.5rem;
        text-align: center;
    }
    .about-content {
        text-align: center;
    }
    .about-section .btn-teal {
        display: block;
        width: fit-content;
        margin: 20px auto 0;
    }

    .trust-title {
        font-size: 2rem;
        text-align: center;
    }
    .trust-img-box {
        height: 300px !important;
        margin-top: 2rem;
    }
    
    .testimonials-title {
        font-size: 2rem;
        text-align: center;
    }
    .testimonial-card {
        padding: 1.5rem;
    }
    .is-center {
        transform: scale(1.05); /* Less dramatic scaling on mobile */
    }
}

@media (max-width: 767px) {
    .navbar, .navbar.scrolled {
        padding-left: 0;
        padding-right: 0;
    }
    .container-fluid {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .hero-arrows {
        display: none !important;
    }
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .promo-bar {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    .collections-title {
        font-size: 2rem;
        text-align: center;
    }
    .trust-box {
        padding: 1.5rem;
    }
    .trust-box-number {
        font-size: 3rem;
    }
    .section-divider h5 {
        font-size: 0.9rem;
        margin: 0 10px !important;
    }
    .testimonial-dots .slick-dots li.slick-active {
        width: 40px;
    }
    .testimonial-dots .slick-dots li.slick-active button {
        width: 40px;
    }
    .testimonial-arrows {
        display: none !important;
    }
    .testimonial-dots .slick-dots li.slick-active {
        width: 40px;
    }
    .site-footer {
        text-align: center;
    }
    .social-links {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .btn-teal {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    .custom-input {
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }
    .contact-form {
        padding: 0 10px;
    }
}
