/* --- CSS VARIABLES (Theme Engine) --- */
:root {
    --primary-color: #d35400;
    /* Terracotta */
    --primary-hover: #e67e22;

    /* Light Mode Defaults */
    --bg-body: #ffffff;
    --bg-section: #f9f9f9;
    --bg-card: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --border-color: #eee;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* Dark Mode Overrides */
body.dark-mode {
    --bg-body: #121212;
    --bg-section: #1e1e1e;
    --bg-card: #252525;
    --text-main: #e0e0e0;
    --text-muted: #aaaaaa;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    --border-color: #333;
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--bg-body);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- NAVIGATION --- */
.navbar {
    background: #000;
    /* Always black for contrast */
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

.logo {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    padding: 10px 22px;
    border-radius: 50px;
    /* Modern pill shape */
}

.btn-nav:hover {
    background: var(--primary-hover);
    color: white !important;
}

/* Theme Toggle Button */
#theme-toggle {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 1rem;
    transition: 0.3s;
}

#theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    /* Better mobile height */
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1562322140-8baeececf3df?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Responsive text scaling */
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 35px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
}

/* --- SECTIONS --- */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-main);
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
}

/* --- SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 25px;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--text-main);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- SHOP --- */
.bg-light {
    background-color: var(--bg-section);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.product-img {
    height: 280px;
    background-position: center;
    background-size: cover;
    transition: 0.5s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.sub-text {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* --- CONTACT --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--text-main);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    /* Aligns icon with top line of address */
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.info-item i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    /* Visual alignment */
    width: 20px;
}

.map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: var(--text-main);
    color: var(--bg-body);
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

/* --- FOOTER --- */
footer {
    background: #000;
    color: #999;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* --- BURGER MENU --- */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- MOBILE RESPONSIVE --- */
@media screen and (max-width: 960px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        /* Full height */
        top: 0;
        background-color: #000;
        /* Force black menu on mobile */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in;
        z-index: 999;
    }

    .nav-links li {
        margin: 25px 0;
    }

    .burger {
        display: block;
        z-index: 1001;
        /* Above the menu overlay */
    }

    .nav-active {
        transform: translateX(0%);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Burger Animation */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}