/* dlujocr/assets/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-accent: #bf9b30;
    /* Metallic Gold-ish */
    --color-secondary: #f4f4f4;
    --color-dark: #000000;
    --color-glass: rgba(255, 255, 255, 0.1);
    --color-glass-border: rgba(255, 255, 255, 0.2);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 400;
}

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

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

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

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--color-dark);
}

.brand-logo span {
    color: #888;
    /* Subtle dot color */
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-dark);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    /* Removing extra margin */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero_catalog.jpg');
    /* Need to ensure this maps correctly */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Dark overlay for text readability */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: right;
    color: white;
    max-width: 800px;
    margin-right: 7%;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border: 1px solid white;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: transparent;
    color: white;
}

/* --- Catalog Grid --- */
.catalog-section {
    background: var(--color-bg);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border: 1px solid #eee;
    transition: var(--transition-fast);
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.product-info {
    padding: 30px;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-specs {
    list-style: none;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.product-specs li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.product-specs li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-dark);
}

/* --- Contact Section --- */
.contact-hero {
    background-color: var(--color-secondary);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card {
    background: white;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 600px;
}

.contact-info-item {
    margin-bottom: 20px;
}

.contact-link {
    font-size: 1.2rem;
    color: var(--color-dark);
    border-bottom: 1px solid #ccc;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-dark);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 10px;
    opacity: 0.7;
}

.footer-socials a:hover {
    opacity: 1;
}

.footer-socials svg {
    width: 20px;
    height: 20px;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */

/* Tablet (1024px) */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
        position: relative;
        background: transparent;
        color: var(--color-dark);
        border: none;
        font-size: 2rem;
    }

    /* Side Navigation Drawer */
    .nav-links {
        display: flex; /* Always flex to support transition but hidden via position */
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1001;
        padding: 20px;
    }

    /* Active state for menu */
    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.3rem;
        padding-bottom: 5px;
    }

    /* Hero adjustments */
    .hero-content {
        text-align: center;
        margin-right: 0;
        padding: 30px 20px;
        background: rgba(0, 0, 0, 0.5); /* Semi-transparent backdrop */
        border-radius: 12px;
        backdrop-filter: blur(4px);
        width: 90%;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

    .footer-socials {
        gap: 20px;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .btn-primary {
        padding: 12px 25px;
        font-size: 0.75rem;
    }
    
    .product-image {
        height: 250px;
    }
}