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

:root {
    /* Color Palette */
    --primary-green: #014421;
    --accent-beige: #D2B48C;
    --dark-brown: #8B4513;
    --light-cream: #F5F5DC;
    --warm-white: #FEFDF8;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Merriweather', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Shadows */
    --soft-shadow: 0 4px 20px rgba(1, 68, 33, 0.1);
    --card-shadow: 0 8px 30px rgba(1, 68, 33, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--warm-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-green);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(1, 68, 33, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--primary-green);
    box-shadow: var(--soft-shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h2 {
    color: var(--accent-beige);
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--light-cream);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-beige);
    transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--accent-beige);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('leather-bags-hero.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--warm-white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 68, 33, 0.7) 0%, rgba(1, 86, 43, 0.6) 100%);
    backdrop-filter: blur(1px);
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.logo-text {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-beige);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--light-cream);
    font-style: italic;
}

.hero-description p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: var(--accent-beige);
    color: var(--primary-green);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--soft-shadow);
}

.cta-button:hover {
    background: #C19A6B;
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

.hero-gallery {
    z-index: 2;
    width: 100%;
    max-width: 1000px;
}

.hero-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

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

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-beige);
    margin: 20px auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
    font-style: italic;
}

/* Our Work Section */
.work-categories {
    display: grid;
    gap: 60px;
}

.category h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.before-after-gallery {
    display: grid;
    gap: 40px;
}

.before-after-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: 1px solid #E8E8E8;
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.image-container {
    position: relative;
}

.restoration-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid var(--accent-beige);
}

.image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.restoration-description {
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

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

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 1px solid #E8E8E8;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
}

.product-item h4 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.product-item p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Workshop Section */
.workshop-section {
    background: white;
}

.workshop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.workshop-item {
    background: var(--light-cream);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 1px solid #E8E8E8;
}

.workshop-item:hover {
    transform: translateY(-5px);
}

.workshop-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.workshop-item h4 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: var(--primary-green);
}

.workshop-item p {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    background: var(--light-cream);
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 1px solid #E8E8E8;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-beige);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--text-light);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.workshop-showcase {
    text-align: center;
    margin-top: 60px;
}

.workshop-showcase h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.workshop-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.workshop-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease;
}

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

/* About Section */
.about-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text h3 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: var(--primary-green);
}

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

.quality-points {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.quality-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.quality-item i {
    font-size: 2rem;
    color: var(--accent-beige);
    margin-top: 5px;
}

.quality-item h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.quality-item p {
    color: var(--text-light);
    margin: 0;
}

.texture-showcase {
    display: grid;
    gap: 20px;
}

.texture-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease;
}

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

/* Contact Section */
.contact-section {
    background: var(--primary-green);
    color: var(--warm-white);
}

.contact-section .section-title,
.contact-section h3,
.contact-section h4 {
    color: var(--accent-beige);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-methods {
    display: grid;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-method i {
    font-size: 2rem;
    color: var(--accent-beige);
    margin-top: 5px;
}

.contact-details h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-link {
    color: var(--accent-beige);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #E6D0A0;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0 0;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-family: var(--font-body);
    transition: background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(210, 180, 140, 0.3);
}

.submit-button {
    background: var(--accent-beige);
    color: var(--primary-green);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.submit-button:hover {
    background: #C19A6B;
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--light-cream);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-beige);
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.8);
}

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

.social-links a {
    color: var(--accent-beige);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #E6D0A0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #E8E8E8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-cream);
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-green);
    font-size: 1.5rem;
}

.close {
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-green);
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-green);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E8E8E8;
}

.btn-secondary {
    padding: 12px 24px;
    background: #f5f5f5;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

.order-results {
    margin-top: 30px;
    padding: 20px;
    background: var(--light-cream);
    border-radius: 10px;
    border: 1px solid #E8E8E8;
}

.order-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1ecf1; color: #0c5460; }
.status-in-progress { background: #cce5ff; color: #004085; }
.status-completed { background: #d4edda; color: #155724; }
.status-delivered { background: #d1f2eb; color: #00695c; }

.order-updates {
    margin-top: 20px;
}

.update-item {
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.update-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.nav-link {
    cursor: pointer;
}

/* Track order link styles removed */

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-green);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--soft-shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }

    .logo-text {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
        min-height: 80vh;
    }

    .hero-images {
        grid-template-columns: 1fr;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    /* Before/After Gallery */
    .before-after-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .restoration-img {
        height: 200px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .workshop-images {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .texture-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .hero-images,
    .workshop-images,
    .texture-showcase {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 20px;
    }
}

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

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-beige);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-brown);
}

/* Map Container Styles */
.map-container {
    margin: 40px 0;
    text-align: center;
}

.map-container h3 {
    color: var(--accent-beige);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.1);
    border: 3px solid var(--accent-beige);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* Work Hours Styles */
.work-hours {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.work-hours h5 {
    color: var(--accent-beige);
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

.work-hours p {
    margin: 0;
    line-height: 1.4;
    color: #ffffff;
}

/* Responsive adjustments for map */
@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 300px;
    }
    
    .work-hours {
        padding: 12px;
    }
}

/* Footer Hours Styles */
.footer-hours {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-hours strong {
    color: var(--accent-beige);
    display: block;
    margin-bottom: 5px;
}
