/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8b4513;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    max-width: 300px;
    position: relative;
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Background Collage (Title Bar area) */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-item {
    position: absolute;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    filter: saturate(1.05) contrast(1.02);
    opacity: 0.95;
}

/* Left card stack */
.hero-bg .item1 {
    width: 420px;
    height: 280px;
    left: 6%;
    top: 120px;
    transform: rotate(-8deg);
    background-image: url('./images/hero-card-stack.jpg');
}

/* Center featured card (Vastport) */
.hero-bg .item2 {
    width: min(680px, 70%);
    height: clamp(240px, 38vw, 420px);
    left: 50%;
    top: 90px;
    transform: translateX(-50%) rotate(-2deg);
    background-image: url('./images/hero-card-vastport.jpg');
    z-index: 1;
}

/* Right hand holding card */
.hero-bg .item3 {
    width: 460px;
    height: 300px;
    right: 6%;
    top: 160px;
    transform: rotate(7deg);
    background-image: url('./images/hero-card-hand.jpg');
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.65) 40%,
        rgba(255, 255, 255, 0.0) 70%
    );
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #8b4513;
    color: white;
}

.btn-primary:hover {
    background: #6b3410;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #8b4513;
    border-color: #8b4513;
}

.btn-secondary:hover {
    background: #8b4513;
    color: white;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-image.cherry {
    background: linear-gradient(45deg, #d2691e, #cd853f);
    background-image: url('./images/cherry-wood-grain-latest.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.product-image.bamboo {
    background: linear-gradient(45deg, #9acd32, #adff2f);
    background-image: url('./images/bamboo-wood-grain.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.product-image.maple {
    background: linear-gradient(45deg, #f4a460, #daa520);
    background-image: url('./images/maple-wood-grain.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.product-image.walnut {
    background: linear-gradient(45deg, #8b4513, #654321);
    background-image: url('./images/walnut-wood-grain.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.product-image.basswood {
    background: linear-gradient(45deg, #f5deb3, #deb887);
    background-image: url('./images/basswood-wood-grain.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.product-image.custom {
    background: linear-gradient(45deg, #d2b48c, #bc9a6a);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.product-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
}

.product-features li {
    padding: 0.25rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b4513;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Applications Section */
.applications {
    padding: 80px 0;
    background: #fff;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.application-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.application-item:hover {
    transform: translateY(-5px);
}

.application-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.application-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.application-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b4513;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p,
.footer-section li {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }


    .hero-logo-img {
        height: 60px;
    }

    /* Smaller logo on mobile/tablet */
    .logo-img {
        height: 48px;
    }

    /* Responsive tweaks for hero background collage */
    .hero-bg .item1 {
        width: 260px;
        height: 180px;
        left: -40px;
        top: 120px;
        transform: rotate(-6deg);
    }

    .hero-bg .item2 {
        width: 88vw;
        height: 46vw;
        top: 110px;
        transform: translateX(-50%) rotate(-2deg);
    }

    .hero-bg .item3 {
        width: 260px;
        height: 180px;
        right: -40px;
        top: 180px;
        transform: rotate(5deg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .product-card {
        margin: 0 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.application-item,
.feature {
    animation: fadeInUp 0.6s ease forwards;
}
