@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --primary-color: #2F7BFF;
    --secondary-color: #6EC1FF;
    --cta-color: #00A651;
    --text-dark: #14202A;
    --text-body: #4A5C68;
    --border-color: #E6ECF2;
    --bg-gradient-start: #FFFFFF;
    --bg-gradient-end: #F5F8FB;
    --header-height: 90px;
    --search-height: 40px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-body);
    background: linear-gradient(to bottom, var(--bg-gradient-start), var(--bg-gradient-end));
    line-height: 1.6;
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    letter-spacing: 0.01em;
    font-weight: 600;
}

.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    margin-bottom: 0 !important;
    padding: 0.5rem 0 !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.navbar-logo {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(47, 123, 255, 0.2));
}

.navbar-logo:hover {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(47, 123, 255, 0.4));
}

.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #2F7BFF 0%, #6EC1FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-text {
    background: linear-gradient(135deg, #6EC1FF 0%, #2F7BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    gap: 0.15rem !important;
}

.navbar-nav .nav-item {
    margin: 0 !important;
}

.navbar-collapse {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.navbar-content-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
}

.navbar-nav {
    flex: 1;
}

.navbar-actions {
    margin-left: 0.5rem;
}

.navbar-actions .btn {
    position: relative;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(47, 123, 255, 0.08);
    border: none;
    color: var(--text-dark) !important;
    font-weight: 600;
    overflow: hidden;
}

.navbar-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.navbar-actions .btn:hover::before {
    left: 100%;
}

.navbar-actions .btn:hover {
    background: linear-gradient(135deg, rgba(47, 123, 255, 0.15) 0%, rgba(110, 193, 255, 0.15) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(47, 123, 255, 0.2);
}

.navbar-actions .btn:active {
    transform: translateY(-1px);
}

.navbar-actions .snipcart-items-count {
    animation: gentlePulse 2.5s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(47, 123, 255, 0.4);
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(47, 123, 255, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 4px 12px rgba(47, 123, 255, 0.6);
    }
}

.navbar-search {
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(226, 236, 242, 0.5);
    position: relative;
}

.navbar-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47, 123, 255, 0.2), transparent);
}

.navbar-search .search-form {
    max-width: 100%;
    margin: 0;
    position: relative;
}

.navbar-search .search-input {
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(226, 236, 242, 0.8);
    border-radius: 10px;
    padding: 0.45rem 0.75rem 0.45rem 2.25rem;
    font-size: 0.85rem;
}

.navbar-search .search-input:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(47, 123, 255, 0.1), 0 4px 12px rgba(47, 123, 255, 0.15);
    outline: none;
    transform: translateY(-1px);
}

.navbar-search .search-icon {
    left: 0.75rem;
    color: var(--text-body);
    opacity: 0.6;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.navbar-search .search-input:focus + .search-icon,
.navbar-search .search-form:focus-within .search-icon {
    opacity: 1;
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Modern Hamburger Menu */
.modern-toggle {
    border: none;
    background: rgba(47, 123, 255, 0.1);
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 10;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 123, 255, 0.2) 0%, rgba(110, 193, 255, 0.2) 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-toggle:hover::before {
    left: 0;
}

.modern-toggle span {
    width: 70%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    position: relative;
    z-index: 1;
}

.modern-toggle span:nth-child(1) {
    margin-left: auto;
}

.modern-toggle span:nth-child(3) {
    margin-left: auto;
}

.modern-toggle[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(47, 123, 255, 0.15) 0%, rgba(110, 193, 255, 0.15) 100%);
}

.modern-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    width: 85%;
}

.modern-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.modern-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    width: 85%;
}

.modern-toggle:hover span {
    background: var(--primary-color);
    width: 85%;
}

.navbar-toggler-icon {
    display: none !important;
}

.modern-toggle .navbar-toggler-icon {
    display: none !important;
}

@media (max-width: 991px) {
    .navbar {
        padding: 0.75rem 0 !important;
    }
    
    .navbar-collapse {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(226, 236, 242, 0.5);
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 1.25rem;
        margin-top: 1rem;
    }
    
    .navbar-content-wrapper {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 1rem;
    }
    
    .navbar-nav {
        width: 100%;
        margin-bottom: 0;
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .navbar-nav .nav-item {
        margin: 0 !important;
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 1.25rem !important;
        border-radius: 14px;
        margin: 0 !important;
        width: 100%;
        text-align: left;
        border-left: 4px solid transparent;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
    }
    
    .nav-link::before {
        display: block;
        background: linear-gradient(135deg, rgba(47, 123, 255, 0.12) 0%, rgba(110, 193, 255, 0.12) 100%);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: linear-gradient(135deg, rgba(47, 123, 255, 0.15) 0%, rgba(110, 193, 255, 0.15) 100%);
        border-left-color: var(--primary-color);
        transform: translateX(8px);
        color: var(--primary-color) !important;
        box-shadow: 0 4px 12px rgba(47, 123, 255, 0.15);
    }
    
    .navbar-actions {
        margin-left: 0;
        margin-bottom: 0;
        width: 100%;
        justify-content: flex-start;
        padding-left: 0;
    }
    
    .navbar-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.25rem;
    }
    
    .navbar-search {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(226, 236, 242, 0.5);
    }
    
    .brand-text {
        font-size: 1.35rem;
    }
    
    .logo-container {
        margin-right: 0.5rem;
    }
    
    .navbar-logo {
        width: 32px;
        height: 32px;
    }
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.1) rotate(5deg);
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-dark) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.25rem 0.4rem !important;
    border-radius: 8px;
    position: relative;
    margin: 0 0.05rem;
    letter-spacing: -0.01em;
    overflow: hidden;
    background: transparent;
    line-height: 1.3;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 123, 255, 0.1) 0%, rgba(110, 193, 255, 0.1) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before {
    transform: scaleX(1);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.search-form.navbar-search {
    position: relative;
    max-width: 300px;
    margin: 0;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.search-form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.2s;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(47,123,255,0.1);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-body);
    opacity: 0.5;
}

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

.btn-primary {
    background-color: var(--cta-color);
    border-color: var(--cta-color);
    border-radius: 14px;
    padding: 0.5rem 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background-color: var(--cta-color);
    border-color: var(--cta-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 166, 81, 0.15);
}

.breadcrumb {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.9rem;
}

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

.breadcrumb-item.active {
    color: var(--text-body);
}

/* Footer Styles */
footer {
    background: var(--bg-gradient-end) !important;
    border-top: 1px solid var(--border-color);
}

footer h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a {
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

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

footer .company-info {
    font-size: 0.9rem;
}

footer .company-info i {
    color: var(--primary-color);
    width: 20px;
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-methods i {
    font-size: 1.75rem;
    color: var(--text-body);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.payment-methods i:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.1);
}

@media (max-width: 767px) {
    .payment-methods {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .payment-methods i {
        font-size: 1.5rem;
    }
}

/* Cookie Consent */
.cookie-consent {
    z-index: 1050;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}
/* Hero Section */
.hero-section {
    margin-top: -1rem;
}

.carousel-item {
    height: 500px;
    background-color: var(--bg-gradient-end);
}

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

.carousel-caption {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 2rem;
    bottom: 50%;
    transform: translateY(50%);
    max-width: 600px;
    margin: 0 auto;
    left: 10%;
    right: 10%;
}

/* Category Cards */
.category-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(18,38,63,.08);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 16px 16px;
}

/* Product Cards */
.product-card {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 8px 28px rgba(18,38,63,.08);
}

.product-card img {
    padding: 1rem;
    transition: transform 0.3s;
}

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

.price {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Trust Badges */
.trust-badge {
    padding: 1.5rem;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 28px rgba(18,38,63,.08);
    height: 100%;
}

/* Contact Form */
.contact-section .card {
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f5f8fb);
}

.contact-info i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f5f8fb, #ffffff);
    border-radius: 12px;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.05);
}

.business-hours .card,
.faq-section .accordion {
    border-radius: 16px;
    overflow: hidden;
}

.business-hours .list-group-item {
    background: transparent;
    border-color: var(--border-color);
}

.accordion-button {
    background: linear-gradient(145deg, #ffffff, #f5f8fb);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: #ffffff;
}

.form-control {
    border-radius: 8px;
    border-color: var(--border-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(47,123,255,0.1);
}
