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

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #ff8c42;
    --color-primary-hover: #e67a32;
    --color-dark: #2b2b2b;
    --color-medium: #5a5a5a;
    --color-light: #9fa892;
    --color-white: #fff;
    --color-text: #333;
    --color-text-light: #666;
    --color-border: #ddd;
    --color-background-light: #f5f5f5;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Sizes */
    --border-radius-sm: 5px;
    --border-radius-md: 8px;
    --border-radius-lg: 10px;
    --border-radius-circle: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 15px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    
    /* Typography */
    --font-heading: 'Allumi Std Extended', serif;
    --font-body: 'Work Sans', sans-serif;
    
    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    --glass-dark-card: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
}
 /* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */ 
/* Add at the top of your CSS file */
@font-face {
    font-family: 'Allumi Std Extended';
    src: url('fonts/AllumiStdExtended.woff2') format('woff2'),
         url('fonts/AllumiStdExtended.woff') format('woff'),
         url('fonts/AllumiStdExtended.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Work Sans';
    src: url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* Add this at the top of your CSS file, after the Allumi font face */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600&display=swap');

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: normal;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

p {
    font-weight: 400;
}

nav a {
    font-weight: 500;
}

.btn {
    font-weight: 600;
}

strong {
    font-weight: 600;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

nav {
    background: var(--color-dark);
    padding: var(--spacing-sm) 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-md);
  
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
 
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-right: auto;
   
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin-left: auto;
    align-items: center;
    margin-bottom: 0;
  
}

nav a {
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.95rem;
    font-weight: 500;
  
}

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

nav a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: var(--border-radius-sm);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-xs);
    transition: color var(--transition-fast);
    align-self: center;
}

.mobile-menu:hover {
    color: var(--color-primary);
}

.mobile-menu:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: var(--border-radius-sm);
}



/* ==========================================================================
  HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%234a5a3a" width="1200" height="800"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    margin-top: 30px; /* This offsets the hero below the fixed nav */
    overflow: hidden;
}
/* Ensure cards and content stay above pattern */

        .hero-content {
            max-width: 1000px;
            padding: 2rem;
            text-align: center;     /* Centers text content */
            z-index: 2;
            margin: 0 auto;
            display: flex;  
            flex-direction: column;  /* Stacks children vertically */
            align-items: center;    /* Centers children horizontally */ 
            justify-content: center; /* Centers children vertically */  
            overflow: hidden;
        }
         .hero-image {
            width: 100%;         /* Makes e image responsive */
            max-width: 1000px;   /* Limits the maximum width */  
            height: auto;       /* Maintains aspect ratio */
            margin-bottom: 2rem; /* Adds space below the image */
            border-radius: 10px; /* Optional: adds rounded corners */
            box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Optional: adds a shadow effect */
            object-fit: cover;  /* Ensures the image covers the area without distortion */
            object-position: center; /* Centers the image within its container */
            animation: fadeIn 2s ease-in-out; /* Optional: adds a fade-in animation */
            position: relative;
            z-index: 2; /* Ensures the image is above the overlay */
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            z-index: 2;
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
            z-index: 2;
        }

   /* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display:inline-block;
    padding: var(--spacing-sm) 2.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    z-index: 2;
    gap: 10px;
    margin-top: 10px;
}

.btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

.btn:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* ==========================================================================
    SECTIONS
   ========================================================================== */
section {
    padding: var(--spacing-xl) 5%;
}

.section-light {
    background: var(--color-light);
    color: var(--color-dark);
}

.section-light#about .container {
    position: relative;
    z-index: 2;
}
       
.section-dark {
    background: var(--color-medium);
    color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    margin: var(--spacing-md) 0 var(--spacing-sm);
    color: var(--color-dark);
}

.section-dark h3 {
    color: var(--color-white);
}

/* Add the drawing overlay */
/* Common Section Styles */
.section-light, .section-dark {
    position: relative;
    overflow: hidden;
    padding: 5rem 5%;
}

/* Pattern Backgrounds */
.hero::before,
.section-light#contact::before {
    background-image: url('img/opt-size-img/animal-prints.png');
    opacity: 0.2;
}

.section-light#about::before,
.section-light#materials::before {
    background-image: url('img/opt-size-img/trees.png');
    opacity: 0.3;
}

/* Common Background Pattern Styles */
.hero::before,
.section-light#about::before,
.section-light#materials::before,
.section-light#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 1000px;
    background-repeat: repeat;
    z-index: 1;
    pointer-events: none;
}
/* Update Pattern Backgrounds */
.section-dark#gallery::before,
.section-dark#process::before,
.section-dark#care::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/opt-size-img/trees.png');
    background-size: 1000px;
    background-repeat: repeat;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Update section positioning */
.section-dark#gallery,
.section-dark#process,
.section-dark#care {
    position: relative;
    overflow: hidden;
}

/* Ensure content stays above pattern */
.section-dark#gallery .container,
.section-dark#process .container,
.section-dark#care .container {
    position: relative;
    z-index: 2;
}
.section-dark .container {
    padding: 2rem;
    border-radius: 10px;
}
/* ==========================================================================
    ABOUT
   ========================================================================== */

.about-image {
    width: 100%;
    border-radius: 10px;
    }

.about-content {
    display: grid;
    background: rgba(255, 255, 255, 0.409); 
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    border-radius: 10px;
   }

.about-text {
    position: relative;
    z-index: 2;
}

/* Optional hover effect */
.about-text:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.about-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

/* ==========================================================================
    MATERIALS
   ========================================================================== */
.materials-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.409); /* Optional: adds slight white background to content */
    padding: 2rem;
    border-radius: 8px;
}
        /* Materials List */
    .materials-content {
    line-height: 1.8;
}

    .materials-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

    .materials-content li {
    margin-bottom: 0.5rem;
}

    .materials-content strong {
    color: var(--color-text);
}
/* ==========================================================================
    GALLERY, PROCESS, CARE
   ========================================================================== */
        /* Ensure cards and content stay above pattern */
.gallery-grid,
.process-columns,
.care-grid {
    position: relative;
    z-index: 2;
    background: rgba(147, 147, 147, 0.145);;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    }

.knife-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 2px solid transparent;
    background: var(--color-white);
    backdrop-filter: blur(5px);
    width: 95%;
    max-width: 400;
    margin: 1rem auto;
    }

.knife-card img {
    width: 100%;
    height: 400px; /* Increased from 300px */
    object-fit: cover;
    background: var(--color-light);
    border-bottom: 2px solid #eee;
    transition: var(--transition-fast);
}

/* Optional: Add hover effect for images */
.knife-card img:hover {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1; /* This ensures the content section fills remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
        .knife-card:hover {
            transform: translateY(-10px);
        }

        .card-content {
            padding: var(--spacing-md);
        }

        .card-content h4 {
            margin-bottom: 0.5rem;
            color: var(--color-dark);
        }

        .card-content p {
            color: var(--color-text-light);
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }

        .btn-small {
            padding: 0.6rem 1.5rem;
            font-size: 0.9rem;
        }

@media (min-width: 768px) {
    .product-card {
        max-width: 500px;
        margin: 2rem auto;
    }
}

 /* ==========================================================================
   PROCESS
   ========================================================================== */   
.process-step {
    background: rgba(0, 0, 0, 0.3); /* Darker background */
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: transform var(--transition-fast);
    backdrop-filter: blur(5px);
    color: var(--color-white); /* White text */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #fff;
    }

.process-step h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
    color: var(--color-white); /* Ensure heading is white */
}

.process-step p {
    color: rgba(255, 255, 255, 0.9); /* Slightly dimmed white for description */
}

.process-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.process-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.process-step:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.4); /* Slightly darker on hover */
}

 /* ==========================================================================
   KNIFE CARE
   ========================================================================== */   

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    max-width: 1200px;
    padding: 1.5rem 1.5rem; 
}

.care-section {
    background: var(--glass-dark-card);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(5px);
    color: var(--color-white);
    border: 1px solid var(--glass-border);
    margin-top: 1rem;
    margin-bottom: 1rem;
   
}

.care-section h4 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.care-section li {
    margin-bottom: var(--spacing-xs);
}

.section-dark#care .container {
    position: relative;
    z-index: 1;
}

/* Mobile adjustments */
@media (max-width: 850px) {
    .care-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .care-section {
        padding: 1.5rem;
    }
    
    .care-section h4 {
        font-size: 1.25rem;
    }
    
    .care-section ul {
        padding-left: 1.25rem;
    }
    
    .care-section li {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}
 /* ==========================================================================
    CONTACT US
   ========================================================================== */   

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent */
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 2;
}

form {
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent */
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(5px); /* Glass effect */
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark);
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.checkbox-group input {
    width: auto;
    margin-right: var(--spacing-xs);
}
/* ==========================================================================
    FOOTER
   ========================================================================== */

footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--spacing-lg);
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px; /* Adjust this value to make logo smaller/larger */
    width: auto;
    opacity: 0.9;
}
.social-links {
    margin: 1.5rem 0 2.5rem 0; /* Increased bottom margin */
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1.5rem;
    padding-bottom: 1rem; /* Added padding at bottom */
}

        /* Responsive */
        @media (max-width: 768px) {

            nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #2b2b2b;
                padding: 1rem;
            }

            nav ul.active {
                display: flex;
            }

            .mobile-menu {
                display: block;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1.2rem;
            }

            .about-content,
            .contact-wrapper {
                grid-template-columns: 1fr;
            }

            h2 {
                font-size: 2rem;
            }
             .about-content {
                grid-template-columns: 1fr;
            }
    
             .about-text {
                 margin-top: 2rem;
             }
             .process-columns {
                 grid-template-columns: 1fr;
            }
        }

        @media (min-width: 480px) { /* Small phones */ }
        @media (min-width: 768px) { /* Tablets */ }
        @media (min-width: 1024px) { /* Desktop */ }
        @media (min-width: 1440px) { /* Large screens */ }

        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }

        /* Hide sections initially, show based on hash */
        .page-section {
            display: none;
        }

        .page-section.active {
            display: block;
        }
        /* Mobile: single column, steps stack in order */

@media (max-width: 768px) {
    .process-columns {
        grid-template-columns: 1fr;
    }
}
