:root {
    --brown-800: #7F1D1D;
    --brown-600: #991B1B;
    --brown-400: #B91C1C;
    --gold-500: #FCA5A5;
    --cream-50: #FDF8F3;
    --cream-100: #F5F1EB;
    --stone-600: #DC2626;
    --stone-800: #1C1917;
    --sage-400: #9CAF88;
}

body {
    font-family: 'Lora', serif;
    color: var(--stone-800);
    line-height: 1.7;
    background-color: var(--cream-50);
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: 42px;
    line-height: 1.2;
}

h3 {
    font-size: 28px;
    line-height: 1.3;
}

.navbar {
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--brown-400);
    padding: 12px 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--brown-800) !important;
    text-transform: capitalize;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--stone-800) !important;
    font-weight: 500;
    margin: 0 16px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--brown-600) !important;
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(28, 25, 23, 0.8), rgba(28, 25, 23, 0.8)),
        url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M10 10h80v80H10z" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/><path d="M50 10v80M10 50h80" stroke="%23ffffff" stroke-width="0.5" opacity="0.05"/></svg>');
    animation: drift 20s linear infinite;
}

@keyframes drift {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: var(--brown-600);
    border: 2px solid var(--brown-600);
    color: white;
    padding: 18px 36px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-500);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: white;
    border-color: var(--gold-500);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    left: 0;
}

.about-section {
    padding: 100px 0;
    background: var(--cream-100);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(var(--cream-50) 0%, var(--cream-100) 100%);
}

.about-image {
    position: relative;
    border: 8px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
    border: 2px solid var(--brown-400);
    z-index: -1;
}

.service-card {
    background: white;
    border: 1px solid var(--brown-400);
    padding: 40px 32px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brown-600), var(--gold-500));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--gold-500);
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-icon {
    font-size: 56px;
    color: var(--brown-600);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--gold-500);
    transform: scale(1.1);
}

.craftsmanship-section {
    background: var(--stone-800);
    color: white;
    padding: 100px 0;
    position: relative;
}

.craftsmanship-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23D4AF37" fill-opacity="0.05"><path d="M20 20.5V18h20v2.5h-20zM18 20h2.5v20H18V20z"/></g></svg>');
}

.craft-item {
    text-align: center;
    padding: 32px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.craft-item:hover {
    border-color: var(--gold-500);
    background: rgba(212, 175, 55, 0.1);
}

.warranty-card {
    background: white;
    border: 2px solid var(--brown-400);
    padding: 40px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.warranty-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--brown-600), var(--gold-500));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.warranty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.warranty-card:hover::before {
    opacity: 1;
}

.warranty-card>* {
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--brown-400);
    padding: 40px;
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 120px;
    color: var(--brown-400);
    font-family: 'Playfair Display', serif;
    opacity: 0.3;
    line-height: 1;
}

.quote-mark {
    color: var(--gold-500);
    font-size: 48px;
    opacity: 0.6;
    margin-bottom: 20px;
}

.form-control {
    border: 2px solid var(--brown-400);
    border-radius: 0;
    padding: 16px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(253, 248, 243, 0.5);
}

.form-control:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: white;
}

.footer {
    background: var(--brown-800);
    color: white;
    padding: 80px 0 40px;
}

.footer h5 {
    color: var(--gold-500);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--gold-500);
}

.success-message {
    background: var(--sage-400);
    color: white;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    display: none;
    font-weight: 500;
}

.modal-content {
    border: 2px solid var(--brown-400);
    border-radius: 8px;
}

.modal-header {
    background: var(--brown-800);
    color: white;
    border-bottom: 2px solid var(--brown-400);
}

.modal-footer {
    border-top: 1px solid var(--brown-400);
}

.ornamental-divider {
    text-align: center;
    margin: 60px 0;
    position: relative;
}

.ornamental-divider::before {
    content: '✦ ✦ ✦';
    font-size: 24px;
    color: var(--gold-500);
    letter-spacing: 20px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    .hero-section {
        min-height: 80vh;
        text-align: center;
    }

    .navbar-brand {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 32px;
    }

    .service-card {
        margin-bottom: 32px;
    }
}