/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile viewport fix - add this early */
@media screen and (max-width: 768px) {
    html {
        overflow-x: hidden;
        width: 100%;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }
}

/* CSS Variables */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #CD853F;
    --dark-brown: #654321;
    --light-brown: #F5DEB3;
    --text-dark: #2C1810;
    --text-light: #666;
    --white: #FFFFFF;
    --black: #000000;
    --gold: #DAA520;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Mobile-First Base Styles */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
    position: relative;
    min-height: 100vh;
}

/* Prevent zoom on input focus for iOS */
input, select, textarea {
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

/* Fix for mobile Safari */
body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Better mobile padding */
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    margin-right: 10px;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f4e6 0%, #e8dcc0 50%, #d4c4a0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23D2691E" opacity="0.3"><animate attributeName="opacity" values="0.3;0.8;0.3" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1" fill="%238B4513" opacity="0.4"><animate attributeName="opacity" values="0.4;0.9;0.4" dur="4s" repeatCount="indefinite"/></circle><circle cx="40" cy="80" r="1" fill="%23CD853F" opacity="0.3"><animate attributeName="opacity" values="0.3;0.7;0.3" dur="5s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    animation: shine 8s ease-in-out infinite;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.hero-main-title {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
}

.hero-sub-title {
    display: block;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.hero h1 {
    margin: 0;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 1rem 0;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.shipping-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary-color), #DAA520);
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.3);
    animation: glow 3s ease-in-out infinite;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.trust-badge i {
    color: var(--secondary-color);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wood-showcase-main {
    width: 350px;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

.showcase-rings::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.2;
    animation: rotate 15s linear infinite reverse;
}

.showcase-center {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.4);
    position: relative;
    z-index: 2;
}

.showcase-center i {
    font-size: 4rem;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.showcase-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.7;
}

.particle:nth-child(1) {
    top: 20%;
    left: 80%;
    animation: float 3s ease-in-out infinite;
}

.particle:nth-child(2) {
    top: 70%;
    left: 10%;
    animation: float 4s ease-in-out infinite 0.5s;
}

.particle:nth-child(3) {
    top: 30%;
    right: 10%;
    animation: float 5s ease-in-out infinite 1s;
}

.particle:nth-child(4) {
    bottom: 20%;
    left: 60%;
    animation: float 3.5s ease-in-out infinite 1.5s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 5%;
    animation: float 4.5s ease-in-out infinite 2s;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.wood-card-mini {
    top: 10%;
    right: 10%;
    animation: float 4s ease-in-out infinite;
    color: var(--primary-color);
}

.quality-card-mini {
    bottom: 20%;
    right: 20%;
    animation: float 5s ease-in-out infinite 1s;
    color: var(--secondary-color);
}

.eco-card-mini {
    top: 60%;
    left: 5%;
    animation: float 6s ease-in-out infinite 2s;
    color: #228B22;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 8px 25px rgba(210, 105, 30, 0.3); }
    50% { box-shadow: 0 8px 35px rgba(210, 105, 30, 0.6); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wood-showcase {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 25%, 
        var(--accent-color) 50%, 
        var(--gold) 75%, 
        var(--primary-color) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.3);
    animation: float 6s ease-in-out infinite;
}

.wood-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Wood Types Section */
.wood-types {
    padding: 100px 0;
    background: var(--white);
}

.wood-types h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Teak Wood Section */
.teak-hero-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-brown) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.teak-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.teak-hero-info h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 1rem 0;
    font-family: 'Playfair Display', serif;
}

.teak-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 2rem;
}

.teak-highlights {
    display: grid;
    gap: 1rem;
}

.teak-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.teak-highlight i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    width: 30px;
}

.teak-highlight span {
    font-weight: 600;
    color: var(--text-dark);
}

.teak-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.teak-showcase-enhanced {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.3);
}

.teak-showcase-enhanced::before {
    content: '🌳';
    font-size: 4rem;
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.teak-showcase-enhanced::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shine 2s ease-in-out infinite;
}

.teak-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.teak-detail-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teak-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.teak-detail-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.teak-detail-card h4 i {
    color: var(--secondary-color);
}

.teak-detail-card ul {
    list-style: none;
    padding: 0;
}

.teak-detail-card li {
    color: var(--text-light);
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.teak-detail-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Responsive Design for Teak Section */
@media (max-width: 768px) {
    .teak-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .teak-hero-card {
        padding: 2rem;
    }
    
    .teak-showcase-enhanced {
        width: 250px;
        height: 250px;
    }
    
    .teak-showcase-enhanced::before {
        font-size: 3rem;
    }
    
    .teak-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .teak-detail-card {
        padding: 1.5rem;
    }
}

.wood-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 69, 19, 0.2);
}

.wood-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.wood-icon i {
    font-size: 2rem;
    color: var(--white);
}

.wood-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.wood-details h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.wood-details ul {
    list-style: none;
    margin-bottom: 1rem;
}

.wood-details li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.wood-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.wood-details p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Wood Care Section */
.wood-care {
    background: linear-gradient(135deg, var(--light-brown), var(--white));
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
}

.wood-care h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2.5rem;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.care-tip {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.care-tip:hover {
    transform: translateY(-5px);
}

.care-tip i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.care-tip h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.care-tip p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--white) 100%);
}

.products h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.7), rgba(210, 105, 30, 0.5));
}

.teak-logs {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.dining-sets {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.bedroom-furniture {
    background: linear-gradient(135deg, var(--accent-color), var(--gold));
}

.doors-windows {
    background: linear-gradient(135deg, var(--dark-brown), var(--primary-color));
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 1.5rem 1.5rem 1rem 1.5rem;
}

.category-card p {
    color: var(--text-light);
    margin: 0 1.5rem 1rem 1.5rem;
    line-height: 1.6;
}

.category-card ul {
    list-style: none;
    margin: 1rem 1.5rem;
}

.category-card li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.category-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.price-range {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Founder Section Styles */
.founder-story {
    background: linear-gradient(135deg, #f8f4e6 0%, #e8dcc0 100%);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
}

.founder-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.founder-info i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: white;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

.founder-details h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.founder-details p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

.founder-mission {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.founder-mission blockquote {
    margin: 0;
    position: relative;
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 1.6;
}

.founder-mission .fa-quote-left {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -10px;
}

.founder-mission cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

.founder-mission cite::before {
    content: "— ";
    color: var(--secondary-color);
}

.highlights {
    display: grid;
    gap: 2rem;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

.highlight h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.highlight p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-brown), var(--white));
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.stat h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--white) 100%);
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.3rem;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-form form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 2px solid rgba(139, 69, 19, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark-brown);
    color: var(--white);
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design - Enhanced Mobile Support */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
        position: relative;
        z-index: 10000;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .hamburger span {
        background: var(--primary-color);
        box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        z-index: 9999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 10px 20px;
        display: block;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
        overflow: hidden;
        position: relative;
    }
    
    .hero-background {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    .hero-particles {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 3;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .hero-text {
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .hero-badge {
        display: inline-flex !important;
        align-items: center;
        gap: 0.4rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin: 0 auto 1rem auto;
        white-space: nowrap;
        visibility: visible;
        opacity: 1;
        max-width: calc(100vw - 60px);
        width: fit-content;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .hero-badge i {
        font-size: 0.9rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        word-wrap: break-word;
        text-align: center;
        box-sizing: border-box;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        word-wrap: break-word;
        padding: 0 10px;
        text-align: center;
        box-sizing: border-box;
    }
    
    .shipping-highlight {
        font-size: 0.9rem;
        padding: 10px 15px;
        flex-direction: column;
        gap: 5px;
        text-align: center;
        max-width: calc(100vw - 40px);
        width: calc(100% - 40px);
        margin: 0 auto;
        overflow: hidden;
        word-wrap: break-word;
        box-sizing: border-box;
    }
    
    .shipping-highlight span {
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        word-wrap: break-word;
        text-align: center;
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .wood-showcase {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    /* Sections Mobile */
    .wood-types, .products, .about, .contact, .gallery {
        padding: 60px 0;
    }
    
    .wood-types h2, .products h2, .about h2, .contact h2, .gallery h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .wood-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .wood-card {
        padding: 20px;
    }
    
    .wood-card h3 {
        font-size: 1.3rem;
    }
    
    .care-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .care-tip {
        padding: 20px;
    }
    
    /* Products Mobile */
    .product-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .category-image {
        height: 200px;
    }
    
    /* Gallery Mobile */
    .gallery {
        padding: 60px 0;
    }
    
    .gallery h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .gallery-nav {
        gap: 10px;
        padding: 0 15px;
        margin: 30px 0;
        flex-wrap: wrap;
        justify-content: center;
        display: flex;
    }
    
    .gallery-btn {
        padding: 12px 15px;
        font-size: 0.85rem;
        flex: 1;
        min-width: 90px;
        max-width: 140px;
        white-space: nowrap;
        border-radius: 25px;
        border: 2px solid var(--primary-color);
        background: white;
        color: var(--primary-color);
        font-weight: 500;
        transition: all 0.3s ease;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .gallery-btn .desktop-text {
        display: none;
    }
    
    .gallery-btn .mobile-text {
        display: inline;
    }
    
    .gallery-btn.active {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
        margin-top: 30px;
    }
    
    .gallery-item {
        margin-bottom: 15px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        background: white;
    }
    
    .gallery-image {
        height: auto;
        min-height: 200px;
        max-height: 300px;
        position: relative;
        overflow: hidden;
    }
    
    .gallery-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        border-radius: 12px 12px 0 0;
    }
    
    .gallery-overlay {
        padding: 15px 20px;
        position: relative;
        transform: translateY(0);
        background: white;
        margin-top: 0;
        border-radius: 0 0 12px 12px;
    }
    
    .gallery-overlay h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .gallery-overlay p {
        font-size: 0.95rem;
        line-height: 1.4;
        color: #666;
        margin: 0;
    }
    
    .shipping-info {
        gap: 20px;
        grid-template-columns: 1fr;
        margin-top: 40px;
        padding-top: 40px;
    }
    
    .shipping-card {
        padding: 20px;
    }
    
    .shipping-card h3 {
        font-size: 1.3rem;
    }
    
    /* About Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .founder-story {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .founder-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .founder-info i {
        font-size: 2rem;
        padding: 12px;
        align-self: center;
    }
    
    .founder-details h4 {
        font-size: 1.2rem;
    }
    
    .founder-details p {
        font-size: 1rem;
    }
    
    .founder-mission {
        padding: 1.5rem;
    }
    
    .founder-mission blockquote {
        font-size: 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    /* Contact Mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .contact-item {
        padding: 15px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Extra small mobile devices */
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .shipping-highlight {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .wood-types h2, .products h2, .about h2, .contact h2, .gallery h2 {
        font-size: 1.8rem;
    }
    
    .wood-showcase {
        width: 220px;
        height: 220px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat {
        padding: 15px;
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        gap: 10px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .gallery-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .gallery-image {
        height: 220px;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
    }
    
    .wood-card, .category-card, .shipping-card {
        padding: 15px;
    }
}

/* iPhone X and newer - Handle notch */
@media (max-width: 414px) and (max-height: 896px) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
    
    .nav-menu {
        top: calc(70px + env(safe-area-inset-top));
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .wood-showcase {
        width: 200px;
        height: 200px;
    }
    
    .gallery-image {
        height: 180px;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wood-card,
.category-card,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(139, 69, 19, 0.5);
    outline-offset: 2px;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.gallery-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.gallery-btn .mobile-text {
    display: none;
}

.gallery-btn .desktop-text {
    display: inline;
}

.gallery-btn:hover,
.gallery-btn.active {
    background: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: #f0f0f0;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Gallery item filtering */
.gallery-item.hide {
    display: none;
}

.gallery-item.show {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Shipping Information */
.shipping-info {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #ddd;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.shipping-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.shipping-card:hover {
    transform: translateY(-5px);
}

.shipping-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.shipping-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.shipping-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.shipping-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.shipping-card li {
    color: var(--text-light);
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.shipping-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Gallery Filter Animation */
.gallery-item {
    transition: all 0.5s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    .gallery-nav {
        gap: 10px;
    }
    
    .gallery-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .shipping-info {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .shipping-card {
        padding: 20px;
    }
}

/* Enhanced Mobile Responsiveness for Hero Section */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding-top: 70px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-sub-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-trust-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-image-container {
        height: 400px;
    }
    
    .wood-showcase-main {
        width: 280px;
        height: 280px;
    }
    
    .showcase-center {
        width: 150px;
        height: 150px;
    }
    
    .showcase-center i {
        font-size: 3rem;
    }
    
    .floating-card {
        font-size: 0.7rem;
        padding: 8px 12px;
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-sub-title {
        font-size: 1.6rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .wood-showcase-main {
        width: 240px;
        height: 240px;
    }
    
    .showcase-center {
        width: 120px;
        height: 120px;
    }
    
    .showcase-center i {
        font-size: 2.5rem;
    }
}

/* Mobile Device Specific Fixes */
.mobile-device {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

.mobile-device body {
    -webkit-overflow-scrolling: touch;
}

/* iOS Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: 100vh;
        /* Account for iOS Safari's dynamic viewport */
        min-height: calc(100vh - env(safe-area-inset-bottom));
    }
    
    input, select, textarea {
        font-size: 16px !important;
        border-radius: 0 !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }
}

/* Android Chrome Specific Fixes */
@media screen and (-webkit-min-device-pixel-ratio: 1) {
    .hero {
        min-height: 100svh;
    }
}

/* Force Hardware Acceleration for Smooth Animations */
.hero-content,
.wood-showcase-main,
.floating-card,
.btn-primary,
.btn-secondary {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Prevent Horizontal Scroll on Mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

* {
    box-sizing: border-box;
}

/* Ensure all containers don't overflow */
.container, .hero-content, .gallery-grid, .nav-container {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Mobile-specific container fixes */
@media (max-width: 768px) {
    /* Force all elements to stay within viewport */
    *, *::before, *::after {
        box-sizing: border-box;
        max-width: 100vw;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    /* Force containers to proper bounds */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .hero, .hero-content, .hero-text, .hero-badge, .shipping-highlight {
        overflow: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Hero section mobile constraints */
    .hero {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 80px 0 60px;
        overflow: hidden;
        position: relative;
    }
    
    .hero-background, .hero-particles, .hero-overlay {
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
        position: absolute !important;
    }
}

/* Touch Action Optimization */
.btn-primary,
.btn-secondary,
.gallery-btn,
.hamburger {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Additional Mobile Navigation Fix */
@media (max-width: 480px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 10000;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 6px;
        box-shadow: 0 3px 12px rgba(0,0,0,0.15);
        padding: 12px;
        margin-right: 10px;
    }
    
    .hamburger span {
        width: 24px;
        height: 3px;
        background: var(--primary-color) !important;
        margin: 2px 0;
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .navbar {
        padding: 0.8rem 1rem;
        overflow: hidden;
    }
    
    .nav-container {
        padding: 0 10px;
        position: relative;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .hamburger {
        flex-shrink: 0;
        margin-left: 10px;
    }
    
    .logo {
        max-width: 85%;
        overflow: visible;
        flex-shrink: 1;
    }
    
    .logo span {
        font-size: 1.1rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    /* Improved Gallery for Small Screens */
    .gallery {
        padding: 40px 0;
    }
    
    .gallery h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        padding: 0 20px;
        text-align: center;
    }
    
    .gallery-nav {
        gap: 6px;
        padding: 0 20px;
        margin: 25px 0;
    }
    
    .gallery-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        min-width: 80px;
        max-width: 120px;
    }
    
    .hero-badge {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.6rem !important;
        margin: 0 auto 1rem auto !important;
        max-width: calc(100% - 20px) !important;
        text-align: center !important;
    }
    
    .hero-content {
        padding: 0 20px !important;
    }
    
    .shipping-highlight {
        font-size: 0.8rem !important;
        padding: 8px 12px !important;
        max-width: calc(100% - 20px) !important;
    }
    
    .gallery-grid {
        padding: 0 20px;
        gap: 20px;
    }
    
    .gallery-item {
        margin-bottom: 10px;
    }
    
    .gallery-image {
        min-height: 180px;
        max-height: 250px;
    }
    
    .gallery-overlay {
        padding: 12px 15px;
    }
    
    .gallery-overlay h4 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

@media (max-width: 380px) {
    .hamburger {
        padding: 10px;
        margin-right: 5px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    .logo span {
        font-size: 0.95rem !important;
        line-height: 1.1 !important;
    }
    
    .nav-container {
        padding: 0 8px !important;
    }
    
    .hero-badge {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
        gap: 0.3rem !important;
    }
    
    .gallery-btn {
        padding: 8px 10px;
        font-size: 0.75rem;
        min-width: 70px;
        max-width: 100px;
    }
    
    .gallery-nav {
        gap: 4px;
        padding: 0 15px;
    }
}