
:root {
    --bg-color: #FAFAFA;
    --text-dark: #222222;
    --text-light: #666666;
    --accent: #2C3E50;
    --input-bg: #F0F2F5;
    --radius-box: 24px;
    --radius-input: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER --- */
nav {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center the logo vertically with the right-hand block. */
    z-index: 10;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
}

/* Information Grouping (Right) */
.nav-info {
    display: flex;
    flex-direction: column; 
    align-items: flex-end;/* Center the items one on top of the other. */
    text-align: center;
    color: #fff;
}

.location-tag {
    color: #fff; 
    font-size: 0.9rem; 
    font-weight: 600;
    background: rgba(255,255,255,0.15); 
    padding: 6px 16px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    margin-bottom: 6px; 
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.2);
}

.phone-link {
    text-decoration: none;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.9 rem; 
    transition: opacity 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-right: 4px; 
}

.phone-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 100%), 
                url('hero-bg.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 8% 40px;
}

.container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
}

.hero-content { color: #fff; }

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.15rem; 
    color: #f0f0f0; 
    opacity: 1; 
    max-width: 550px;
    margin-bottom: 40px;
    font-weight: 500; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); 
    line-height: 1.7;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.feature span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 0.7rem;
}

/* --- FORM --- */
.form-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-box);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-header { margin-bottom: 24px; }

.form-header h3 {
    font-size: 1.6rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--accent);
    font-weight: 700;
}

.form-header p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

.form-group { margin-bottom: 16px; }

input, textarea {
    width: 100%;
    padding: 16px;
    background-color: #F8F9FA; 
    border: 1px solid #E0E0E0; 
    border-radius: var(--radius-input);
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
outline: none;
    background-color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.1);
}

button.btn-primary {
    width: 100%;
    padding: 18px;
    background-color: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-input);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

button.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.2);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 968px) {
    nav {
        flex-direction: column;
        align-items: center; /* Center it on cell phone. */
        gap: 20px;
        top: 0;
        position: absolute;
        width: 100%;
        padding: 30px 5%;
    }

    .nav-info {
        align-items: center; /* Ensures central alignment on mobile. */
    }

    .hero {
        padding-top: 240px;
        padding-bottom: 60px;
        display: block;
        height: auto;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center; 
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-features {
        justify-content: center;
        flex-direction: column;
    }
    .form-card { padding: 30px; }
}

/* --- SERVICES SECTION --- */
.services-section {
    background-color: #fff;
    padding: 80px 8%;
    text-align: center;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 60px;
    font-size: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Automatic responsive */
    gap: 40px;
    text-align: left;
}

.service-card {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: transparent;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--input-bg);
    padding-bottom: 10px;
    display: inline-block;
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* The green or light blue checkmark before the item. */
.service-list li::before {
    content: "•"; 
    color: var(--accent); 
    font-size: 1.5rem;
    line-height: 0.5;
}        

/* --- ACCORDION SERVICES --- */
.services-section {
    background-color: #fff;
    padding: 80px 8%;
    text-align: center;
}

/* Closed/open box style */
details.service-box {
    background: #fff;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    text-align: left;
    transition: all 0.3s;
    cursor: pointer;
}

/* The Title (Where to click) */
summary {
    list-style: none; /* Remove the ugly default arrow. */
    padding: 25px 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between; /* Text on the left, + on the right */
    align-items: center;
}

/* The + icon */
summary::after {
    content: '+'; 
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.3s;
}

/* When it's open, the + becomes x (rotates). */
details[open] summary::after {
    transform: rotate(45deg);
}

/* The list that appears */
details .service-list {
    padding: 0 20px 30px 20px;
    list-style: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive bar */
@media (max-width: 768px) {
    .trust-bar {
        flex-direction: column;
        gap: 15px;
    }
}


/* --- FOOTER --- */
footer {
    background-color: var(--text-dark); 
    color: #b0b0b0; /* Light gray text to avoid tiring the eyes. */
    padding: 60px 8% 30px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 4px solid var(--accent); 
}

.footer-content {
    margin-bottom: 40px;
}

.footer-info p {
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.8rem;
    color: #666;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/*SIGNATURE CLASS*/
.developer-tag {
    font-size: 0.75rem;
    margin-top: 10px;
    color: #444; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.developer-tag strong {
    color: #666; 
}


/* =========================================
   9. MODAL SUCESS (Popup)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 9999; 
    display: none; 
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); 
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    position: relative;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
}

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
    line-height: 1.1;
}

.modal-text {
    color: var(--text-light);
    margin-bottom: 25px;
}

.btn-close-modal {
    background-color: var(--accent);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: var(--radius-input);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
}