/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B7355;
    --secondary-color: #A68B5B;
    --accent-color: #D4A574;
    --text-dark: #2C2416;
    --text-light: #6B6B6B;
    --bg-light: #F8F6F3;
    --bg-white: #FFFFFF;
    --border-color: #E5E5E5;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Ensure page starts at top on refresh */
body {
    scroll-behavior: auto;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    flex-shrink: 0;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    opacity: 1;
    transition: opacity 0.1s;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
    padding: 5px 10px;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 150px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-top: 10px;
}

.language-selector:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s;
}

.lang-menu a:hover {
    background: var(--bg-light);
}

/* Hero Section */
.hero {
    background: transparent;
    padding: 100px 20px 80px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
    opacity: 1;
    visibility: visible;
    min-width: 100%;
    min-height: 100%;
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-bottom: 60px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 40px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Contact page hero - no text shadows, black text */
.contact-hero .hero-title,
.contact-hero .hero-subtitle {
    text-shadow: none;
    color: var(--text-dark);
}

/* Category pages and About page - black text, no shadows */
.category-hero .hero-title,
.category-hero .hero-subtitle {
    text-shadow: none !important;
    color: var(--text-dark) !important;
}

.hero-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--bg-white);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 250px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
}

.hero-cta {
    max-width: 600px;
}

.hero-cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.hero-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.btn-secondary {
    background: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    border: none;
    background: none;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 400;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Welcome Section */
.welcome-section {
    background: var(--bg-white);
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.welcome-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Work Section */
.work-section {
    background: #f5f0e8;
    padding: 100px 20px;
    width: 100%;
}

.work-section .container {
    background: transparent;
}

.work-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.work-section-label {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}

.work-section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.work-section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    height: 100%;
}

.product-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4), transparent);
    padding: 20px;
    padding-top: 40px;
    z-index: 1;
}

.product-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #ffffff !important;
    margin: 0;
    text-align: left;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.3);
}

.product-card h4,
.product-card .product-overlay h4,
.product-image-container .product-overlay h4 {
    color: #ffffff !important;
}

/* Product icon for category pages (not used in main grid) */
.product-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Expertise Section */
.expertise-section {
    background: var(--bg-white);
}

.expertise-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.expertise-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 5px;
    font-weight: 500;
}

.feature-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Features Section */
.features-section {
    background: var(--bg-light);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.feature-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-box h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 400;
}

.feature-box p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Process Section */
.process-section {
    background: var(--bg-white);
}

.process-intro {
    max-width: 1000px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.process-steps {
    display: grid;
    gap: 50px;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    align-items: start;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 10px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.process-step h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 400;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 20px 30px;
}

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

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

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

.contact-info p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.9rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-top {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .logo {
        order: 1;
        flex-shrink: 0;
    }

    .mobile-menu-toggle {
        display: flex !important;
        order: 3;
        margin-left: auto;
        z-index: 1001;
        position: relative;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
    }

    .nav {
        order: 2;
        position: fixed;
        top: 80px;
        right: 0;
        width: 100%;
        max-width: 300px;
        background: var(--bg-white);
        box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 0 10px;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        margin-top: 0;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: none;
        overflow: visible;
        width: 100%;
        padding: 20px;
    }

    .nav-list.active {
        max-height: none;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 15px 0;
        width: 100%;
        display: block;
    }

    .nav-link {
        padding: 15px 0;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .language-selector {
        order: 1;
    }

    .hero {
        padding: 60px 20px 50px;
        min-height: 60vh;
    }
    
    .hero-video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        z-index: 0 !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 100%;
        max-width: 400px;
    }

    .hero-cta h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.4rem;
    }

    .work-section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Ensure product cards maintain overlay style on tablet/mobile */
    .product-card {
        position: relative;
        aspect-ratio: 1;
        overflow: hidden;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }
    
    .product-image-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .product-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin-bottom: 0;
        border-radius: 0;
    }
    
    .product-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4), transparent);
        padding: 15px;
        padding-top: 30px;
        z-index: 1;
    }
    
    .product-overlay h4 {
        color: #ffffff !important;
        font-size: 1.2rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.3);
        margin: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .feature-box {
        padding: 25px;
    }

    .process-step {
        padding: 25px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Ensure product cards maintain overlay style on small mobile */
    .product-card {
        position: relative;
        aspect-ratio: 1;
        overflow: hidden;
    }
    
    .product-image-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .product-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4), transparent);
        padding: 15px;
        padding-top: 30px;
        z-index: 1;
    }
    
    .product-overlay h4 {
        color: #ffffff !important;
        font-size: 1.1rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.3);
    }
}

