:root {
    --gold: #b5952f;
    --gold-light: #D4AF37;
    --bg-color: #fcfcfc;
    --text-color: #2F3538;
    --nav-bg: rgba(255, 255, 255, 0.98);
    --border-color: #E0E0E0;
    --hero-bg: #f2f2f2;
    --card-bg: #ffffff;
    --footer-bg: #1e1e1e;
    --footer-text: #e0e0e0;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #E0E0E0;
    --nav-bg: rgba(18, 18, 18, 0.98);
    --border-color: #333333;
    --hero-bg: #1a1a1a;
    --card-bg: #1e1e1e;
    --footer-bg: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Redesign */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #1a1d20;
    color: #fff;
    border-bottom: 2px solid #2a2f32;
    padding: 10px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area a.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    display: flex;
    align-items: center;
    letter-spacing: 1px;
}

.logo-area a.logo svg .logo-base {
    fill: #fff;
    /* Always white on dark header */
}

.logo-area a.logo span {
    color: #fff;
    /* Alwasy white on dark header */
    margin-left: 6px;
}

.top-right-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links-header {
    display: flex;
    gap: 8px;
    margin-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 15px;
}

.social-links-header a {
    color: #ccc;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: 0.3s;
}

.social-links-header a:hover {
    background: var(--gold);
    color: #fff;
}

.header-top .lang-switcher {
    display: flex;
    gap: 5px;
    color: #666;
    font-size: 12px;
}

.header-top .lang-switcher a {
    color: #ccc;
    font-weight: 600;
}

.header-top .lang-switcher a.active {
    color: var(--gold);
}

.header-top .theme-toggle-btn {
    color: #fff;
    font-size: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.header-top .top-btn {
    padding: 8px 20px;
    font-size: 12px;
    margin-left: 10px;
}

/* Header Bottom */
.header-bottom {
    background: var(--nav-bg);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.header-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-right: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--gold);
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-dropdown .dropbtn {
    margin-right: 30px;
    cursor: pointer;
}
.nav-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--nav-bg);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1001;
    border-top: 3px solid var(--gold);
    top: 100%;
    left: 0;
}
.nav-dropdown .dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin-right: 0;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    transition: 0.3s;
}
.nav-dropdown .dropdown-content a:last-child {
    border-bottom: none;
}
.nav-dropdown .dropdown-content a:hover {
    background-color: var(--card-bg);
    color: var(--gold);
    padding-left: 20px;
}
.nav-dropdown:hover .dropdown-content {
    display: block;
}

.header-search {
    display: flex;
    align-items: center;
}

.header-search form {
    display: flex;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

[data-theme="dark"] .header-search form {
    background: #2a2f32;
}

.header-search input {
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 13px;
    color: var(--text-color);
    width: 200px;
    outline: none;
}

.header-search button {
    background: transparent;
    border: none;
    padding: 0 15px;
    color: var(--text-color);
    cursor: pointer;
    transition: 0.3s;
}

.header-search button:hover {
    color: var(--gold);
}

.desktop-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-only-actions {
    display: none;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: inherit;
}

.mobile-menu-toggle {
    display: none;
    color: #fff;
    font-size: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--gold);
    color: #fff;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Services Ticker (Animated) */
.services-ticker {
    background-color: #2F3538;
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 15px;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.services-ticker .dot {
    color: var(--gold);
    margin: 0 30px;
    opacity: 0.7;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Base Sections */
.hero {
    background-color: var(--hero-bg);
    padding: 100px 20px;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background-image: radial-gradient(circle at center, rgba(181, 149, 47, 0.08) 0%, transparent 60%);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 10px;
}

/* Grids */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.product-image {
    height: 200px;
    background-color: var(--hero-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    border-bottom: 1px solid var(--border-color);
}

.product-info {
    padding: 20px;
    text-align: left;
}

.product-title {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    display: inline-block;
}

.badge.in-stock {
    background-color: #2e7d32;
}

.badge.out-of-stock {
    background-color: #c62828;
}

/* Cards */
.service-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--text-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(181, 149, 47, 0.15);
    border-color: var(--gold);
    color: inherit;
}

.service-card .icon {
    font-size: 45px;
    margin-bottom: 20px;
    color: var(--gold);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    font-size: 14px;
    opacity: 0.8;
}

/* Page Header */
.page-header {
    background-color: var(--hero-bg);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 40px;
    color: var(--gold);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.6;
}

/* Responsiveness */
@media screen and (max-width: 900px) {
    .desktop-actions {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-bottom {
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .header-bottom .container {
        min-height: 0;
    }

    .header-search {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 2px solid var(--gold);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .site-header {
        position: relative;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 15px 0;
        font-size: 18px;
        display: inline-block;
        color: var(--text-color);
    }
    
    .nav-dropdown { display: flex; flex-direction: column; width: 100%; align-items: center; }
    .nav-dropdown .dropbtn { margin-right: 0; margin-bottom: 5px; }
    .nav-dropdown .dropdown-content {
        position: static;
        box-shadow: none;
        border-top: none;
        background: transparent;
        display: none;
        width: 100%;
        text-align: center;
    }
    .nav-dropdown:hover .dropdown-content, .nav-dropdown:active .dropdown-content {
        display: block;
    }
    .nav-dropdown .dropdown-content a {
        font-size: 16px;
        margin: 5px 0;
        padding: 5px;
        opacity: 0.8;
        border-bottom: none;
    }

    .mobile-only-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        gap: 15px;
    }

    .mobile-only-actions .social-links-header {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }

    .mobile-only-actions .social-links-header a {
        background: #f0f0f0;
        color: #333;
    }

    [data-theme="dark"] .mobile-only-actions .social-links-header a {
        background: #333;
        color: #ccc;
    }
}

@media screen and (max-width: 600px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .grid-2,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .logo-area a {
        font-size: 20px;
    }

    .navbar .container {
        padding: 0 15px;
    }
}

/* Homepage 3-Column Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.box-header {
    background: #2a2f32;
    color: #fff;
    padding: 12px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid var(--gold);
}

.box-content {
    padding: 20px;
    color: var(--text-color);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.box-content h4 {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.box-flex {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.box-flex img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.box-flex p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

.read-more {
    font-size: 13px;
    color: var(--gold);
    font-weight: 600;
    margin-top: auto;
    text-align: right;
    display: block;
}

/* Product Mini Slider */
.product-mini-slider {
    width: 100%;
}

.mini-slide h4 {
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 16px;
    text-align: center;
}

.mini-slide img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.mini-slide p {
    font-size: 13px;
    opacity: 0.8;
    text-align: justify;
}

.mini-pagination {
    position: relative;
    margin-top: 15px;
    text-align: center;
}

.mini-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #888;
    opacity: 0.5;
}

.mini-pagination .swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
}

/* Catalog Banner */
.catalog-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

.catalog-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.catalog-link:hover img {
    transform: scale(1.05);
}

.catalog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.3s;
}

.catalog-link:hover .catalog-overlay {
    background: var(--gold);
}

/* References Ticker */
.divider-line {
    width: 100px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

.ref-marquee-container {
    margin-top: 40px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ref-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
    gap: 30px;
    padding: 20px 0;
}

.ref-track:hover {
    animation-play-state: paused;
}

.ref-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 100px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.ref-logo:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.ref-logo i {
    font-size: 30px;
    margin-bottom: 10px;
    color: var(--gold);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

/* Instagram Grid */
.home-instagram {
    border-top: 1px solid var(--border-color);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.insta-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* Corporate Pages specific layout */
.corporate-layout {
    display: flex;
    gap: 30px;
    margin: 40px 0 80px 0;
    align-items: flex-start;
}
.corp-sidebar {
    width: 260px;
    flex-shrink: 0;
}
.corp-sidebar-header {
    background: #2a2f32;
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px 6px 0 0;
    border-bottom: 3px solid var(--gold);
    text-align: center;
}
.corp-nav {
    list-style: none;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 6px 6px;
    background: var(--card-bg);
    overflow: hidden;
}
.corp-nav li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}
.corp-nav li:last-child a {
    border-bottom: none;
}
.corp-nav li a:hover {
    background: var(--hero-bg);
    color: var(--gold);
    padding-left: 25px;
}
.corp-nav li a.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.corp-content {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.corp-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 25px;
    background: var(--hero-bg);
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
.corp-breadcrumb a {
    color: var(--text-color);
    font-weight: 600;
}
.corp-title {
    font-size: 26px;
    color: var(--text-color);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 12px;
    margin-bottom: 25px;
    display: inline-block;
}
.corp-text {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
    color: var(--text-color);
}
.corp-text p {
    margin-bottom: 15px;
}

.corp-widgets {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.widget-box {
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 6px;
    overflow: hidden;
}
.widget-header {
    background: #2a2f32;
    color: #fff;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 3px solid var(--gold);
}
.widget-body {
    padding: 15px;
    text-align: center;
}
.widget-body img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}
.widget-btn {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    margin-top: 10px;
    transition: 0.3s;
}
.widget-btn:hover {
    background: #333;
    color: #fff;
}

@media (max-width: 992px) {
    .corporate-layout {
        flex-direction: column;
    }
    .corp-sidebar, .corp-widgets {
        width: 100%;
    }
}