/* ===== CSS Reset & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #8B4513;
    --primary-dark: #5D2F0E;
    --accent-gold: #D4AF37;
    --text-dark: #2C1810;
    --text-light: #F5F5DC;
    --bg-light: #FAF8F3;
    --bg-dark: #1A1410;
    --overlay-dark: rgba(26, 20, 16, 0.7);
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 5%;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== Base Styles ===== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 20, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(26, 20, 16, 0.98);
}

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

.nav-brand h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-brand .premium {
    color: var(--accent-gold);
    font-weight: 400;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition-smooth);
}

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

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

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

.btn-enquiry {
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.btn-enquiry:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(139, 69, 19, 0.3) 0%, rgba(93, 47, 14, 0.5) 100%),
        url('data:image/svg+xml,%3Csvg width="400" height="400" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="wood" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"%3E%3Cpath d="M0 50 Q25 45 50 50 T100 50" stroke="%23654321" fill="none" stroke-width="2" opacity="0.3"/%3E%3Cpath d="M0 60 Q25 55 50 60 T100 60" stroke="%23654321" fill="none" stroke-width="1.5" opacity="0.2"/%3E%3Cpath d="M0 70 Q25 67 50 70 T100 70" stroke="%23654321" fill="none" stroke-width="1" opacity="0.15"/%3E%3Crect width="100" height="100" fill="%238B4513" opacity="0.1"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="400" height="400" fill="url(%23wood)"/%3E%3C/svg%3E'),
        linear-gradient(180deg, #3D2817 0%, #5D3A1A 50%, #3D2817 100%);
    background-size: cover, 200px 200px, cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(101, 67, 33, 0.1) 2px,
        rgba(101, 67, 33, 0.1) 4px
    );
    animation: woodGrain 20s linear infinite;
}

@keyframes woodGrain {
    0% { transform: translateX(0); }
    100% { transform: translateX(100px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Animations */
.fade-in {
    animation: fadeInUp 1s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    position: relative;
    opacity: 0.7;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ===== Section Styles ===== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 300;
}

/* ===== About Section ===== */
.about {
    background: var(--bg-light);
}

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

.about-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-bounce);
}

.about-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.about-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* ===== Products Section ===== */
.products {
    background: linear-gradient(135deg, #F5F1E8 0%, #FAF8F3 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(139, 69, 19, 0.2);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #D4A574 0%, #8B6F47 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 69, 19, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-bounce);
    transform: translateY(20px);
}

.product-card:hover .btn-view {
    transform: translateY(0);
}

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

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.product-info p {
    color: #666;
    line-height: 1.7;
}

/* ===== Services Section ===== */
.services {
    background: var(--primary-dark);
    color: var(--text-light);
}

.services .section-title,
.services .section-subtitle {
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
}

.service-item:hover::before {
    opacity: 1;
}

.service-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--accent-gold);
    opacity: 0.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-item h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.service-item p {
    line-height: 1.8;
    opacity: 0.9;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 4rem;
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--accent-gold);
}

.contact-item h4 {
    font-family: var(--font-serif);
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.contact-item p {
    opacity: 0.9;
    line-height: 1.6;
}

.contact-form {
    padding: 4rem;
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

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

.btn-full {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-family: var(--font-serif);
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 600px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
    
    .about-grid,
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Scroll Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
