@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

:root {
    --gold: #E9C64A;
    --gold-light: #F3DC8C;
    --gold-dark: #B8962E;
    --gold-50: #FDF8E8;
    --gold-100: #F9EEC4;
    --gold-200: #F3DC8C;
    --gold-300: #E9C64A;
    --gold-400: #D4AD2E;
    --gold-500: #B8962E;
    --gold-600: #9A7A28;
    --gold-700: #7D6222;
    --text-primary: #1a1a1a;
    --text-secondary: #525252;
    --bg-light: #fafafa;
    --bg-dark: #0a0a0a;
    --header-underline: var(--gold-400);
    --btn-color: #fdfdfd;
    --btn-bg: #000;
    --primary-text-color: #1a1a1a;
    --input-border-color: #000;
}

html {
    scroll-behavior: smooth;
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
}

body {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.khula-font {
    font-family: "Lato", sans-serif;
    font-style: normal;
}

nav {
    background-color: transparent;
}

nav > .collapsible-nav {
    display: flex;
    gap: 1rem;
    width: 100%;
    background-color: inherit;
    place-content: center;
    overflow: hidden;
    transition: width 0.3s ease;
}

.animated-collapse {
    transition: width 0.3s ease;
}

.nav-links {
    display: flex;
    position: relative;
    align-items: center;
    min-width: fit-content;
    border-radius: 25px;
    padding: 8px 16px;
    transition: background-color 0.3s, color 0.3s;
    background-color: rgba(200, 160, 90, 0.2);
    font-weight: 600;
    text-decoration: none;
}

.nav-links:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: var(--gold-300);
    transition: width 0.6s ease 0s, left 0.6s ease 0s;
    width: 0;
}

.nav-links:hover:after {
    width: 100%;
    left: 0;
}

.nav-links:visited { color: inherit; }

.nav-links:active {
    background-color: rgba(200, 160, 90, 0.4);
}

.nav-white-bg {
    color: #000;
}

.header-white-bg {
    color: #000 !important;
    background-color: transparent !important;
}

.overlay-gradient {
    background: linear-gradient(83deg, rgba(11, 11, 11, 0.65) 10%, rgba(0, 0, 0, 0.5) 54%, rgba(211, 174, 56, 0) 75%, rgba(38, 58, 74, 0.65) 97%);
}

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

.btn {
    padding: 12px 24px;
    width: max-content;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    justify-content: center;
    align-items: center;
    display: inline-flex;
    gap: 8px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-height: 48px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--gold-300);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 198, 74, 0.3);
}

.btn-gold {
    background-color: var(--gold-300);
    color: #000;
}

.btn-gold:hover {
    background-color: var(--gold-400);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid #d1d5db;
}

.btn-outline:hover {
    border-color: var(--gold-300);
    color: var(--gold-600);
    background-color: transparent;
    box-shadow: none;
}

.input, .input-light {
    padding: 12px 16px;
    outline: none;
    min-width: 100px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    transition: border 0.3s, box-shadow 0.3s;
    color: var(--text-primary);
    background-color: #fff;
    font-size: 1rem;
    font-family: "Quicksand", sans-serif;
}

.input-light {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
}

.input-light:active, .input-light:focus, .input-light:focus-within {
    border: 2px solid var(--gold-300);
}

.input:active, .input:focus, .input:focus-within {
    border: 2px solid var(--input-border-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.slides {
    display: none;
    position: relative;
    height: 100%;
}

.dots-container {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #d1d5db;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dots-container .active,
.dot:hover {
    background-color: var(--gold-300);
    transform: scale(1.3);
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

.footer-link {
    display: flex;
    position: relative;
    align-items: center;
    min-width: fit-content;
    color: #fff;
}

.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-toggle {
    width: 100%;
    outline: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1;
    color: #fff;
    background-color: #000;
    border: 1px solid #f2f2f2;
    list-style-type: none;
    padding: 0;
    width: 100%;
    left: 0px;
    top: 105%;
    border-radius: 10px;
    overflow: hidden;
}

.dropdown-menu li {
    padding: 8px 12px;
}

.dropdown-menu li:hover {
    background-color: rgba(108, 108, 108, 0.52);
}

.review-container {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.review-slide {
    display: none;
    padding: 20px;
    text-align: center;
}

.fade {
    animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stars {
    display: inline-block;
    font-size: 40px;
    cursor: pointer;
}
.stars .star {
    color: #ccc;
    transition: color 0.2s;
}
.stars .star:hover,
.stars .star.active {
    color: var(--gold-300);
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Product Carousel */
.product-carousel {
    position: relative;
}

.carousel-track {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e5e7eb;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: var(--gold-300);
    border-color: var(--gold-300);
    color: #000;
    transform: scale(1.1);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--gold-300);
    transform: scale(1.3);
}

/* Product Card */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.product-card:focus-visible {
    outline: 2px solid var(--gold-300);
    outline-offset: 2px;
}

/* Product Detail Modal */
#product-detail-modal {
    transition: opacity 0.3s ease;
}

#product-detail-modal .modal-content {
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-gallery-track::-webkit-scrollbar {
    display: none;
}

/* Share Modal */
#share-modal {
    transition: opacity 0.3s ease;
}

/* Focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold-300);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Section headings */
.section-heading {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    position: relative;
}

.section-heading-accent::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold-300);
    margin-top: 12px;
    border-radius: 2px;
}

@media not all and (min-width: 1024px) {
    nav .collapsible-nav {
        position: absolute;
        right: 0px;
        flex-direction: column;
        opacity: 0;
        height: 100vh;
        height: 100dvh;
        width: 0vw;
        justify-content: flex-start;
        padding: 20px;
        padding-top: 80px;
        place-items: end;
        background-color: #171917;
        color: white;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .nav-links {
        color: white;
        font-size: 1.125rem;
    }

    .nav-links:visited { color: white; }

    .overlay-gradient {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    }

    .section-heading-accent::after {
        margin-left: auto;
        margin-right: auto;
    }
}

@media not all and (min-width: 640px) {
    .carousel-arrow {
        display: none;
    }
}

/* Mobile font sizes */
@media (max-width: 640px) {
    html { font-size: 14px; }
    body { font-size: 1rem; line-height: 1.5; }
}

/* Service icon circles */
.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}
