@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #8B4513;
    --primary-foreground: #FFFEF7;
    --secondary: #F5DEB3;
    --secondary-foreground: #8B4513;
    --accent: #D2691E;
    --background: #FFFEF7;
    --foreground: #1A120B;
    --muted: #F5F2EC;
    --muted-foreground: #6B5E4C;
    --border: #E5E1D8;
    --radius-lg: 2rem;
    --radius-md: 1.5rem;
    --radius-sm: 1rem;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
}

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-accent { background-color: var(--accent) !important; }

/* Navbar */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(255, 254, 247, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground) !important;
    transition: color 0.2s;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

.btn-contact {
    background-color: var(--primary);
    color: white !important;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(139, 69, 19, 0.3);
    display: inline-block;
}

.btn-contact:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(139, 69, 19, 0.4);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.35));
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero .italic {
    font-style: italic;
    font-weight: 400;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 3rem;
}

.btn-hero-primary {
    background-color: var(--primary);
    color: white;
    padding: 1.125rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-hero-primary:hover {
    background-color: var(--accent);
    transform: translateX(5px);
}

.btn-hero-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1.125rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Sections */
.section-padding {
    padding: 8rem 0;
}

.subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* About Section */
.about-image {
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
}

.about-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: #1A120B;
    color: white;
    padding: 2.5rem;
    border-radius: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.about-badge .number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-badge .label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.icon-list-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.icon-list-item .icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background: #FDFBF7;
    border: 1px solid var(--border);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.icon-list-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-family: var(--font-sans);
}

.icon-list-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0;
}

/* Services */
.service-card {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 2.5rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.service-card .icon-box {
    width: 4.5rem;
    height: 4.5rem;
    background: rgba(245, 222, 179, 0.2);
    color: var(--primary);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-family: var(--font-sans);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Products */
.product-card {
    position: relative;
    height: 450px;
    border-radius: 2.5rem;
    overflow: hidden;
    cursor: pointer;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.product-overlay h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-overlay p {
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.4s;
    color: #E5E7EB;
}

.product-card:hover .product-overlay p {
    opacity: 1;
    transform: translateY(0);
}

.quote-box {
    background: rgba(245, 222, 179, 0.15);
    border: 1px solid rgba(245, 222, 179, 0.3);
    padding: 2.5rem;
    border-radius: 2.5rem;
    text-align: center;
    margin-top: 5rem;
}

.quote-box p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0;
    font-weight: 500;
}

/* Contact */
.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info-item .icon-circle {
    width: 3.5rem;
    height: 3.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-family: var(--font-sans);
}

.contact-info-item p {
    color: var(--muted-foreground);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.contact-form-card {
    background: white;
    padding: 3.5rem;
    border-radius: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.form-control, .form-select {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background-color: #FDFBF7;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.1);
    background-color: white;
    outline: none;
}

.btn-submit {
    background-color: var(--primary);
    color: white;
    width: 100%;
    padding: 1.125rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    margin-top: 1rem;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.2);
}

/* Footer */
footer {
    background-color: #1A120B;
    color: white;
    padding: 6rem 0 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #A3A3A3;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: var(--font-sans);
}

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

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

.footer-links a {
    color: #A3A3A3;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.btn-newsletter {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 1.25rem;
    border-radius: 0 1rem 1rem 0;
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: #737373;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive */
@media (max-width: 991.98px) {
    .hero {
        text-align: center;
        height: auto;
        padding: 10rem 0 6rem;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-badge {
        position: static;
        margin-top: 2rem;
        display: inline-block;
    }
    
    .contact-form-card {
        padding: 2.5rem;
    }
}
