:root {
    --primary: #1a1a1a;
    --accent: #D4AF37;
    --light-bg: #f8f9fa;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text);
    line-height: 1.6;
}

/* --- Header --- */
header {
    background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(0,0,0,0.5)), url('../images/headerImage.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 4rem 1.5rem 6rem;
    text-align: center;
}

.logo-circle {
    max-width: 300px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

/* --- Action Cards --- */
.contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 600px;
    margin: -3rem auto 3rem;
    padding: 1.5rem;
    position: relative;
    z-index: 10;
}

.contact-actions p {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.6;
}

.action-card {
    background: var(--white);
    padding: 1.2rem;
    border-radius: var(--radius);
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.action-card:active { transform: scale(0.96); }
.action-card i { font-size: 1.4rem; color: var(--accent); }
.action-card span { font-weight: 600; font-size: 0.9rem; }

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Global Carousel --- */
.carousel-viewport {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

/* --- Reviews Carousel --- */
.review-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem 2rem 4rem;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    display: grid; 
    grid-template-columns: 1fr;
    align-items: center;
}

.review-slide {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    width: 100%;
}

.review-slide.active { 
    opacity: 1; 
    pointer-events: auto;
    z-index: 1;
}

.stars { color: var(--accent); margin-bottom: 1rem; }
.quote-header { font-family: "Bitter", serif; font-size: 1.3rem; font-weight: 700; text-transform: uppercase;  margin-bottom: 0.5rem; color: var(--primary); }
.quote { font-family:'Times New Roman', Times, serif; font-size: .9rem; margin-bottom: 1rem; color: #555; }
.author { font-size: 0.8rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.dot { width: 8px; height: 8px; background: #ddd; border-radius: 50%; cursor: pointer; }
.dot.active { background: var(--accent); }

.brand-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.definition-box {
    background-color: #e9e9e9;
    padding: 2.5rem;
}

.definition-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    padding: 0 0 10px;
    margin-bottom: 0;
    color: var(--primary);
    line-height: 1;
}

.part-of-speech {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.5rem;
    display: block;
}

.def-text {
    font-family:'Times New Roman', Times, serif;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #333;
}

.see-also {
    font-family:'Times New Roman', Times, serif;
    font-size: 1rem;
    color: #555;
}

.see-also strong {
    color: var(--primary);
    font-weight: 700;
}

.brand-description p {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* --- Services --- */
.services-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;   
}

/* Services Carousel */
.service-img-carousel {
    position: relative;
    height: 250px;
    width: 100%;
    background: #000;
}

.service-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.service-slide-img.active { opacity: 1; }

.service-list {
    padding: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding-left: 0.5rem;
}

.service-item {
    border-bottom: 1px solid #eee;
}
.service-item:last-child { border-bottom: none; }

.service-header {
    padding: 1.2rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
}

.service-content {
    padding: 0 0.5rem 1.2rem;
    color: var(--text-light);
    font-size: 0.95rem;
    display: none;
    line-height: 1.5;
}

.service-content span {
    color: var(--primary);
}

.coverage-guarantee {
    background: #f0f0f0;
    padding: 6px 8px;
    border-radius: 10px;
    cursor: pointer;
}

.service-footer {
    text-align: center;
}

.service-footer i {
    display: inline;
}

.toggle { display: none; }
.toggle:checked ~ .service-content { display: block; animation: slideDown 0.3s ease; }
.toggle:checked ~ .service-header i { transform: rotate(180deg); color: var(--accent); }
.service-header i { transition: transform 0.3s; color: #ccc; }

/* --- Technician --- */
.technician-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 3rem;
}

.tech-layout {
    display: flex;
    flex-direction: column;
}

.tech-img-container {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
}

.tech-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.tech-info {
    padding: 2rem;
}

.tech-badges {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.guarantee-box {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
}

footer {
    margin-bottom: 0;
    background: var(--primary);
    color: #e6e6e6;
    padding: 3rem 1.5rem 5rem;
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
}

footer i {
    vertical-align: middle;
}

.footer-copyright {
    opacity: 0.6;
    margin-top: 1rem;
}

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 768px) {
    .container {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 2rem;
        align-items: start;
    }

    .brand-section {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
        gap: 3rem;
        align-items: start;
    }

    .definition-box {
        border-right: 2px solid var(--text-light);
    }

    .definition-box h2 {
        font-size: 3rem;
    }

    .quote {
        font-size: 1.2rem;
    }

    .logo-circle {
        max-width: 400px;
    }

    .review-section, 
    .contact-actions, 
    .services-wrapper, 
    .technician-card, 
    footer, 
    header {
        grid-column: span 2;
    }

    .service-img-carousel {
        height: 350px; 
    }

    .coverage-guarantee {
        border-radius: 20px;
        background: none;
    }

    .coverage-guarantee p {
        display: inline;
        width: min-content;
        background: #f0f0f0;
        padding: 4px 10px;
        border-radius: 20px;
    }

    .contact-actions { max-width: 800px; margin-top: -4rem; }
    .action-card { padding: 2rem; font-size: 1.1rem; }

    .action-card:hover {
        transform: translateY(-2px);
        box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 7px;
    }

    .tech-layout {
        flex-direction: row;
    }
    .tech-img-container {
        width: 40%;
        height: auto;
        min-height: 350px;
    }
    .tech-info { width: 60%; padding: 3rem; }
}

@media (max-width: 768px) {
    footer {
        padding-bottom: 100px;
    }

    .review-section {
        margin-top: 2rem;
    }

    .contact-actions {
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%; 
        max-width: 400px;
        margin: 0;
        padding: 6px; 
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.4);
        box-shadow: 0 12px 30px rgba(0,0,0,0.2);
        z-index: 9999;
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        gap: 8px;
        border-radius: 100px;
    }

    .action-card {
        flex: 1;
        padding: 12px 0;
        border-radius: 50px;
        border: none;
        box-shadow: none;
        font-size: 1rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: transform 0.1s;
    }
    
    .action-card:active {
        transform: scale(0.96);
    }

    .action-card:first-child {
        background-color: var(--primary);
        color: var(--white);
    }
    .action-card:first-child i {
        color: var(--accent);
        font-size: 1rem;
        margin: 0;
    }

    .action-card:last-child {
        background-color: #f2f2f2;
        color: var(--text);
    }
    .action-card:last-child i {
        color: var(--text-light);
        font-size: 1rem;
        margin: 0;
    }

    .contact-actions p.contact {
        display: none;
    }
    
    .action-card span {
        display: inline-block;
        font-weight: 600;
        font-size: 0.95rem;
    }
}