:root {
    --primary-color: #b80c0a;
    --secondary-color: #1a1a1a;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --border-radius: 20px;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 20px; color: var(--light-text); }

.highlight { color: var(--primary-color); }

.subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero .subtitle {
    color: rgba(255,255,255,0.9);
}

.hero .highlight {
    color: var(--white);
    text-decoration: underline;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #960a08;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(184,12,10,0.3);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-lg { padding: 18px 45px; font-size: 1.1rem; }
.btn-sm { padding: 10px 25px; font-size: 0.9rem; }
.btn-block { width: 100%; text-align: center; }

/* Floating Nav */
.floating-nav {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1150px;
    background: var(--white);
    padding: 12px 30px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: top 0.4s ease, width 0.4s ease, max-width 0.4s ease, border-radius 0.4s ease, background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.floating-nav.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: var(--white);
    padding: 8px 30px;
}

.floating-nav.scrolled .logo img {
    height: 55px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--secondary-color);
    gap: 0;
    margin: 0;
    padding: 0;
}

.logo img {
    height: 70px;
    margin: 0;
    padding: 0;
    transition: height 0.3s ease;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links .btn-primary,
.nav-links .btn-primary:hover,
.nav-links .btn-primary.active,
.nav-links .btn-primary.active:hover {
    color: var(--white);
}

.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
    height: 100vh;
    background: url('../images/slideshow/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 { 
    margin-bottom: 30px; 
    font-size: 4rem; 
    letter-spacing: -1px;
}
.hero p { color: #ddd; font-size: 1.25rem; max-width: 600px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 20px; }
.hero .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero .btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* Sections */
.section { padding: 140px 0; overflow-x: hidden; }
.bg-light { background-color: #fcfcfc; }

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover { transform: translateY(-10px); }

.service-image { height: 200px; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .service-image img { transform: scale(1.1); }

.service-content { padding: 30px; }
.service-content h3 { margin-bottom: 15px; }
.service-content .link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* Quote Form */
.quote-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-details { margin-top: 40px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.form-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    font-weight: 500;
}

.form-message.is-loading {
    color: var(--primary-color);
    background: #fff5f5;
    border-color: rgba(184,12,10,0.2);
}

.form-message.is-success {
    color: #166534;
    background: #ecfdf3;
    border-color: #86efac;
}

.form-message.is-error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fca5a5;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #111111;
    color: #a0a0a0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.socials {
    display: flex;
    align-items: center;
    gap: 20px;
}

.socials a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.socials a:hover {
    color: #f0d4d4;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1001;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn:hover { transform: scale(1.1); }

.tooltip {
    position: absolute;
    right: 75px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-btn:hover .tooltip { opacity: 1; }

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .quote-container { grid-template-columns: 1fr; gap: 40px; }
    .hero { height: auto; min-height: 90vh; padding: 120px 0 60px; }
}

@media (max-width: 768px) {
    .floating-nav {
        top: 15px;
        width: 95%;
        padding: 10px 20px;
    }


    .nav-links {
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        background: var(--white);
        width: 100%;
        flex-direction: column;
        padding: 20px;
        display: none;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        border-radius: 20px;
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links.active { 
        display: flex; 
        animation: navSlideIn 0.3s ease forwards;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        text-align: center;
        font-size: 1.1rem;
    }

    .nav-links .btn-primary {
        margin: 10px 0;
        width: 100%;
        border-radius: 15px;
    }

    .menu-toggle { 
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: #f8f9fa;
        border-radius: 12px;
        color: var(--secondary-color);
        transition: var(--transition);
    }

    .floating-nav.scrolled .nav-links {
        top: 100%;
        border-radius: 0 0 20px 20px;
    }

    .floating-nav.scrolled {
        padding: 10px 20px;
    }
    
    @keyframes navSlideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .logo img { height: 55px; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.1rem; }
    .hero-btns { justify-content: center; flex-direction: column; gap: 15px; }
    .section { padding: 80px 0; }
    .quote-form-wrapper { padding: 30px 20px; }
    .about-image { margin-bottom: 20px; }
    
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero h1 { font-size: 2rem; }
    .hero .btn { width: 100%; padding: 15px 25px; }
    .footer-bottom { text-align: center; justify-content: center; }
}
