:root {
    --wood-dark: #2d1810;
    --wood-medium: #5d3a1a;
    --wood-light: #8b5a3c;
    --cream: #f5f1e8;
    --off-white: #faf8f3;
    --accent-gold: #d4a574;
    --text-dark: #1a1410;
    --text-medium: #4a3f35;
    --shadow: rgba(29, 24, 16, 0.15);
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
}

/* Navigation */
.nav-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--wood-dark);
    border-bottom: 1px solid rgba(139, 90, 60, 0.3);
    transition: all 0.3s ease;
}

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

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--cream);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a.nav-cta {
    background: var(--cream);
    color: var(--wood-dark);
    padding: 0.75rem 2rem;
    border-radius: 2px;
    font-weight: 600;
}

.nav-links a.nav-cta::after {
    display: none;
}

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

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

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

.nav-links a.nav-cta:hover {
    background: var(--accent-gold);
    color: var(--wood-dark);
}

.nav-links a.nav-cta:hover::after {
    width: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    margin-top: 100px;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 90vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 1400px;
    width: 100%;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.slide-text {
    animation: fadeInUp 1s ease-out;
}

.slide-text h1 {
    font-size: 4.5rem;
    color: var(--wood-dark);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.1;
}

.slide-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 500px;
}

.slide-text .dimensions {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 1rem 0;
    line-height: 1.6;
}

.slide-text .disclaimer {
    font-size: 0.85rem;
    color: var(--wood-medium);
    font-style: italic;
    margin-top: 1.5rem;
}

.btn-primary {
    display: inline-block;
    background: var(--wood-dark);
    color: var(--cream);
    padding: 1rem 3rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    border: 2px solid var(--wood-dark);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    border-color: var(--accent-gold);
    color: var(--wood-dark);
}

.slide-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.slide-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 60px var(--shadow);
}

.slider-nav {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 90, 60, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--wood-medium);
    width: 40px;
    border-radius: 6px;
}

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

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

/* About Section */
.about {
    max-width: 1400px;
    margin: 8rem auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3.5rem;
    color: var(--wood-dark);
    margin-bottom: 2rem;
    font-weight: 400;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-gold);
    z-index: -1;
}

/* Products Section */
.products {
    background: var(--cream);
    padding: 8rem 3rem;
}

.products-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.products-header h2 {
    font-size: 3.5rem;
    color: var(--wood-dark);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.products-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

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

.product-card {
    background: var(--off-white);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.8rem;
    color: var(--wood-dark);
    margin-bottom: 1rem;
}

.product-info p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-link {
    display: inline-block;
    color: var(--wood-medium);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}

.product-link::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.product-link:hover::after {
    margin-left: 12px;
}

/* Things We Make */
.things-we-make {
    max-width: 1400px;
    margin: 8rem auto;
    padding: 0 3rem;
}

.things-header {
    text-align: center;
    margin-bottom: 5rem;
}

.things-header h2 {
    font-size: 3.5rem;
    color: var(--wood-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

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

.thing-card {
    background: var(--cream);
    padding: 3rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.thing-card:hover {
    border-left-color: var(--wood-medium);
    transform: translateX(10px);
}

.thing-card h3 {
    font-size: 2rem;
    color: var(--wood-dark);
    margin-bottom: 1rem;
}

.thing-card p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* Gallery */
.gallery {
    background: var(--wood-dark);
    padding: 8rem 3rem;
    position: relative;
}

.gallery h2 {
    text-align: center;
    font-size: 3.5rem;
    color: var(--cream);
    margin-bottom: 4rem;
    font-weight: 400;
}

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

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* CTA Section */
.cta-section {
    background: var(--cream);
    padding: 8rem 3rem;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3.5rem;
    color: var(--wood-dark);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--wood-dark);
    color: var(--cream);
    padding: 4rem 3rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(245, 241, 232, 0.8);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

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

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 241, 232, 0.1);
    text-align: center;
    color: rgba(245, 241, 232, 0.6);
    font-size: 0.9rem;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--wood-dark);
    color: var(--cream);
    padding: 1.5rem 2rem;
    border-radius: 4px;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
}

.cookie-notice.show {
    display: block;
    animation: slideUp 0.5s ease;
}

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

.cookie-notice p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cookie-notice a {
    color: var(--accent-gold);
}

.cookie-notice button {
    background: var(--accent-gold);
    color: var(--wood-dark);
    border: none;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.cookie-notice button:hover {
    background: var(--cream);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--wood-dark);
    color: var(--cream);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--wood-medium);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--wood-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .slide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .slide-text h1 {
        font-size: 3rem;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin: 5rem auto;
    }

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

    .things-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .hero {
        margin-top: 80px;
    }

    .slide-text h1 {
        font-size: 2.5rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .products-header h2,
    .things-header h2,
    .gallery h2,
    .cta-content h2,
    .about-text h2 {
        font-size: 2.5rem;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }

    .cookie-notice {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}
