/* assets/css/style.css */
:root {
    --primary-color: #c89659; /* Logo Bronze/Gold */
    --primary-dark: #a87640;
    --bg-dark: #ffffff;      /* Main Body Background (Pure White) */
    --bg-darker: #111111;    /* Footer Background (Dark) */
    --bg-card: #ffffff;      /* Card backgrounds (White) */
    --text-main: #222222;    /* Main text color (Dark) */
    --text-muted: #666666;   /* Muted text */
    --border-color: #e9ecef; /* Subtle light borders */
    --metallic-silver: #c0c0c0;
    --transition: all 0.3s ease;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #b9770e 100%);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000 !important;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Header & Nav */
header {
    background-color: rgba(255, 255, 255, 0.85); /* Light premium glassmorphism */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: #333333; /* Dark text for light header */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-dark);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: #111111;
    font-size: 1.8rem;
}

/* Slider Section */
.hero-slider {
    width: 100%;
    height: 56.25vw; /* Perfectly match 16:9 aspect ratio */
    min-height: 400px;
    max-height: 900px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

@media (max-width: 991px) {
    .hero-slider {
        height: 70vh; /* Fallback for mobile devices */
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-color: #ffffff;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.2) 100%); /* Bright white corporate overlay */
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    background: transparent; /* No box for maximum simplicity */
    padding: 0;
    max-width: 600px;
    margin-left: 5%;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.3s;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

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

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111111; /* Dark text for white theme */
    text-shadow: none;
    font-weight: 700;
}

.hero p {
    font-size: 1.15rem;
    color: #444444; /* Dark grey for readability */
    text-shadow: none;
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero h1, .hero-content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 0.5rem;
    }
    .hero p, .hero-content p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem;
    }
    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
    }
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Products & Categories List */
.category-boxes-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.category-box {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-box::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.category-box:hover {
    transform: translateX(10px);
    border-color: rgba(200, 150, 89, 0.5);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-box:hover::before {
    transform: scaleY(1);
}

.category-box .cat-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.category-box .cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-box:hover .cat-image {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(200, 150, 89, 0.3);
}

.category-box:hover .cat-image img {
    transform: scale(1.15);
}

.category-box .cat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1.8rem;
    border: 1px solid rgba(200, 150, 89, 0.4);
    transition: all 0.3s ease;
}

.category-box:hover .cat-icon {
    border-color: var(--primary-color);
    background-color: rgba(200, 150, 89, 0.05);
    transform: scale(1.05);
}

.category-box .cat-content {
    flex-grow: 1;
    padding-right: 1.5rem;
}

.category-box .cat-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #111111;
}

.category-box .cat-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.category-box .cat-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(200, 150, 89, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-box:hover .cat-arrow {
    background: var(--primary-color);
    color: #000;
}

.products-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(200, 150, 89, 0.5);
}

.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    box-sizing: border-box;
    transition: transform 0.5s ease;
}

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

.product-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(243, 156, 18, 0.9);
    color: #000;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Footer */
footer {
    background-color: #111111;
    border-top: none;
    padding: 2.5rem 0 1rem;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7); /* Readable on dark footer */
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7); /* Readable on dark footer */
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    /* Decrease overall typography sizes for mobile */
    .hero h1, h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.6rem !important; }
    h3 { font-size: 1.25rem !important; }
    p { font-size: 0.9rem !important; line-height: 1.5 !important; }
    
    /* Ensure mobile nav links are dark */
    .nav-links li a {
        color: #111111 !important;
        font-size: 1.1rem;
    }
    }
}
