/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2D2D2D;
    background-color: #FAFAF8;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #FAFAF8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: transform 0.3s ease-in-out;
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3D3D3D;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #2D2D2D;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #C4673D;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 4rem;
}

.hero-content {
    max-width: 600px;
    color: white;
    padding-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-showcase {
    text-align: center;
}

.product-frame {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.image-placeholder {
    background: rgba(255,255,255,0.2);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-style: italic;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #C4673D;
    color: white;
}

.btn-primary:hover {
    background: #A35A30;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #3D3D3D;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #C4673D;
    margin: 1rem auto;
}

/* Product Section */
.product {
    background: #FAFAF8;
    padding-top: 6rem;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #3D3D3D;
}

.product-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555555;
}

.craftsmanship-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #C4673D;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #3D3D3D;
}

.feature p {
    color: #666666;
    margin: 0;
}

/* Process Section */
.process {
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    background: #FAFAF8;
    border-radius: 10px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #C4673D;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #3D3D3D;
}

.step-content p {
    color: #666666;
}

/* Order/Contact Section */
.order, .contact {
    background: linear-gradient(135deg, #FAFAF8 0%, #E8E4DC 100%);
    padding: 4rem 0;
}

.order-form, .contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #3D3D3D;
    border-bottom: 2px solid #E8E4DC;
    padding-bottom: 0.5rem;
}

.product-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.option-group {
    display: flex;
    flex-direction: column;
}

.option-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #3D3D3D;
}

.option-group input,
.option-group select,
.option-group textarea {
    padding: 12px;
    border: 2px solid #E8E4DC;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.option-group input:focus,
.option-group select:focus,
.option-group textarea:focus {
    outline: none;
    border-color: #C4673D;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #3D3D3D;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E8E4DC;
    border-radius: 6px;
    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: #C4673D;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #B84A3C;
}

.error-message {
    color: #B84A3C;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Order Summary */
.order-summary {
    background: #FAFAF8;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.order-summary h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #3D3D3D;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #666666;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
    color: #3D3D3D;
    border-top: 2px solid #C4BFB6;
    padding-top: 1rem;
    margin-top: 1rem;
}

.form-actions {
    text-align: center;
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #666666;
}

.form-notice {
    margin-top: 1rem;
    color: #666666;
    font-style: italic;
}

/* Price Box for Sale */
.price-box {
    background: #FAFAF8;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.original-price {
    text-decoration: line-through;
    color: #999999;
    font-size: 1.2rem;
}

.sale-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6B7F5E;
    margin: 0.5rem 0;
}

.savings {
    color: #B84A3C;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #3D3D3D;
    color: white;
    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: #C4673D;
}

.footer-section p {
    color: #D4CFC7;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4D4D4D;
    color: #8A8A8A;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .product-options {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .order-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Animation and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #C4673D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}