/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    background-color: #F8F7F4;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #0F172A;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
    font-family: 'Manrope', sans-serif;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0 32px;
    height: 56px;
    border: none;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn--primary {
    background-color: #C2410C;
    color: #FFFFFF;
}

.btn--primary:hover {
    background-color: #9A3412;
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn--secondary:hover {
    background-color: #FFFFFF;
    color: #0F172A;
}

.btn--large {
    padding: 0 40px;
    height: 64px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
}

/* Sections */
.section {
    padding: 96px 0;
}

.section__title {
    text-align: center;
    margin-bottom: 16px;
}

.section__subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #64748B;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    text-decoration: none;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav__link {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

.nav__link:hover {
    color: #C2410C;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C2410C;
    transition: width 0.25s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background-color: #374151;
    transition: all 0.25s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__image {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.4) 100%), 
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23f5f5f5"/><stop offset="100%" style="stop-color:%23e5e7eb"/></linearGradient></defs><rect width="1200" height="800" fill="url(%23bg)"/><rect x="200" y="200" width="800" height="400" fill="%23d1d5db" rx="8"/><rect x="250" y="250" width="300" height="300" fill="%23f3f4f6" rx="4"/><rect x="600" y="250" width="350" height="300" fill="%23f3f4f6" rx="4"/><rect x="300" y="300" width="200" height="150" fill="%23e5e7eb" rx="2"/><rect x="650" y="300" width="250" height="200" fill="%23e5e7eb" rx="2"/></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.4) 100%);
    z-index: -1;
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__text {
    max-width: 700px;
}

.hero__title {
    color: #FFFFFF;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: #E2E8F0;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__buttons {
    display: flex;
    gap: 24px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* About Section */
.about__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.about__stats {
    display: grid;
    gap: 32px;
}

.stat__item {
    text-align: center;
    padding: 32px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.stat__number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #C2410C;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 1rem;
    color: #64748B;
    font-weight: 500;
}

/* Services Section */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service__card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    cursor: pointer;
}

.service__card:hover {
    transform: translateY(-4px);
    border-color: #C2410C;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service__icon {
    color: #C2410C;
    margin-bottom: 24px;
}

.service__title {
    margin-bottom: 16px;
    color: #0F172A;
}

.service__description {
    color: #64748B;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose__content {
    max-width: 800px;
    margin: 0 auto;
}

.benefits__list {
    display: grid;
    gap: 32px;
}

.benefit__item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.benefit__item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.benefit__icon {
    color: #C2410C;
    flex-shrink: 0;
}

.benefit__title {
    margin-bottom: 8px;
    color: #0F172A;
}

.benefit__description {
    color: #64748B;
    margin: 0;
}

/* Warranty Section */
.warranty__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.warranty__description {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: #64748B;
}

.warranty__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.warranty__feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.warranty__icon {
    color: #059669;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Quote Section */
.quote {
    background-color: #F8F7F4;
}

.quote__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.quote__description {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: #64748B;
}

.contact__info {
    display: grid;
    gap: 24px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #64748B;
}

.quote__form-container {
    background-color: #FFFFFF;
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Forms */
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    background-color: #FFFFFF;
    transition: all 0.25s ease;
}

.form__textarea {
    height: auto;
    padding: 16px;
    resize: vertical;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: #0F172A;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.form__success {
    text-align: center;
    padding: 48px;
}

.success__content svg {
    color: #059669;
    margin-bottom: 24px;
}

.success__content h3 {
    margin-bottom: 16px;
    color: #0F172A;
}

.success__content p {
    color: #64748B;
    margin: 0;
}

/* Testimonials Section */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonial__card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.testimonial__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.testimonial__rating {
    margin-bottom: 20px;
}

.star {
    color: #FCD34D;
    font-size: 1.25rem;
}

.testimonial__text {
    font-style: italic;
    margin-bottom: 24px;
    color: #374151;
    line-height: 1.6;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author__avatar {
    width: 48px;
    height: 48px;
    background-color: #C2410C;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.author__name {
    font-size: 1rem;
    color: #0F172A;
    margin-bottom: 4px;
}

.author__location {
    font-size: 0.875rem;
    color: #64748B;
}

/* Contact Section */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.contact__subtitle {
    margin-bottom: 32px;
    color: #0F172A;
}

.contact__details {
    display: grid;
    gap: 32px;
}

.contact__detail {
    display: flex;
    gap: 16px;
    color: #64748B;
}

.contact__detail svg {
    color: #C2410C;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact__detail h4 {
    margin-bottom: 8px;
    color: #0F172A;
}

.contact__detail p {
    margin: 0;
    line-height: 1.5;
}

.contact__form-main {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact__map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Footer */
.footer {
    background-color: #0F172A;
    color: #94A3B8;
    padding: 64px 0 24px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer__title {
    color: #FFFFFF;
    margin-bottom: 24px;
}

.footer__description {
    margin-bottom: 32px;
    line-height: 1.6;
}

.footer__contact {
    display: grid;
    gap: 16px;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
}

.footer__contact-item svg {
    flex-shrink: 0;
}

.footer__links {
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer__links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer__links a:hover {
    color: #FFFFFF;
}

.newsletter__form {
    display: grid;
    gap: 16px;
}

.newsletter__input-group {
    display: flex;
    gap: 0;
}

.newsletter__input {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #374151;
    border-radius: 4px 0 0 4px;
    background-color: #1E293B;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
}

.newsletter__input::placeholder {
    color: #64748B;
}

.newsletter__button {
    height: 48px;
    padding: 0 24px;
    background-color: #C2410C;
    color: #FFFFFF;
    border: none;
    border-radius: 0 4px 4px 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.newsletter__button:hover {
    background-color: #9A3412;
}

.newsletter__checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    cursor: pointer;
}

.newsletter__checkbox {
    width: 16px;
    height: 16px;
}

.newsletter__success {
    padding: 16px;
    background-color: #059669;
    color: #FFFFFF;
    border-radius: 4px;
    text-align: center;
}

.footer__bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
}

.footer__bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    margin: 0;
    font-size: 0.875rem;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal-link {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.25s ease;
}

.footer__legal-link:hover {
    color: #FFFFFF;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: 24px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__content {
    background-color: #FFFFFF;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #E5E7EB;
}

.modal__header h2 {
    margin: 0;
    color: #0F172A;
}

.modal__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748B;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__body {
    padding: 32px;
}

.modal__body h3 {
    margin: 24px 0 16px;
    color: #0F172A;
}

.modal__body h3:first-child {
    margin-top: 0;
}

.modal__body p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.modal__body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.modal__body li {
    margin-bottom: 8px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .about__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .quote__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    
    .services__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
    
    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #FFFFFF;
        flex-direction: column;
        justify-content: start;
        padding: 48px 24px;
        transition: left 0.25s ease;
        z-index: 999;
    }
    
    .nav__menu.active {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        height: 500px;
        text-align: center;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .btn--large {
        width: 100%;
        max-width: 280px;
    }
    
    .about__stats {
        grid-template-columns: 1fr;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .warranty__features {
        grid-template-columns: 1fr;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .form__row {
        grid-template-columns: 1fr;
    }
    
    .newsletter__input-group {
        flex-direction: column;
    }
    
    .newsletter__input,
    .newsletter__button {
        border-radius: 4px;
    }
    
    .newsletter__button {
        border-radius: 4px;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer__bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer__legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .quote__form-container {
        padding: 32px 24px;
    }
    
    .contact__form-main {
        padding: 24px;
    }
    
    .service__card {
        padding: 24px;
    }
    
    .benefit__item {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }
    
    .modal {
        padding: 16px;
    }
    
    .modal__content {
        max-height: 90vh;
    }
    
    .modal__header,
    .modal__body {
        padding: 24px;
    }
}