/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

/* CSS Variables */
:root {
    --primary-bg: #0A1B2A;
    --secondary-bg: #06111C;
    --light-bg: #F3E9D6;
    --text-dark: #F7F1E3;
    --text-light: #1A2430;
    --accent-color: #B08D57;
    --transition-speed: 0.3s;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header Styles */
.main-header {
    background-color: var(--primary-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
    margin-left: auto;
}

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

.main-nav a {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 16px;
    position: relative;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-bg);
    min-width: 220px;
    padding: 15px 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1001;
    display: block;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    opacity: 0;
    transform: translateY(-8px);
    animation: slideInMenu 0.3s forwards;
    width: 100%;
}

.dropdown:hover .dropdown-menu li:nth-child(1) {
    animation-delay: 0.05s;
}

.dropdown:hover .dropdown-menu li:nth-child(2) {
    animation-delay: 0.1s;
}

.dropdown:hover .dropdown-menu li:nth-child(3) {
    animation-delay: 0.15s;
}

.dropdown:hover .dropdown-menu li:nth-child(4) {
    animation-delay: 0.2s;
}

.dropdown:hover .dropdown-menu li:nth-child(5) {
    animation-delay: 0.25s;
}

.dropdown:hover .dropdown-menu li:nth-child(6) {
    animation-delay: 0.3s;
}

.dropdown:hover .dropdown-menu li:nth-child(7) {
    animation-delay: 0.35s;
}

.dropdown:hover .dropdown-menu li:nth-child(8) {
    animation-delay: 0.4s;
}

.dropdown:hover .dropdown-menu li:nth-child(9) {
    animation-delay: 0.45s;
}

.dropdown:hover .dropdown-menu li:nth-child(10) {
    animation-delay: 0.5s;
}

@keyframes slideInMenu {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu a {
    display: block;
    padding: 10px 25px;
    color: var(--text-dark);
    font-size: 15px;
}

.dropdown-menu a:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.header-contact {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: 20px;
}

.header-contact a {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 27, 42, 0.85) 0%, rgba(6, 17, 28, 0.75) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Form Styles */
.feedback-form-container {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-color);
}

.feedback-form-container h2,
.feedback-form-container h3 {
    font-size: 28px;
    color: var(--text-light);
    margin: 0 0 25px;
    text-align: center;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    transition: all var(--transition-speed) ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(176, 141, 87, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(176, 141, 87, 0.3);
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #9a7a4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 141, 87, 0.4);
}

#form-success {
    text-align: center;
    padding: 30px;
    background-color: #d4edda;
    border: 2px solid #28a745;
    border-radius: 10px;
    color: #155724;
    font-size: 18px;
}

/* Content Sections */
.about-section,
.services-overview,
.specialty-section,
.map-section,
.about-content,
.services-page-section,
.service-detail-section,
.service-areas-section,
.contact-page-section,
.faq-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-section:nth-of-type(even),
.services-overview:nth-of-type(even),
.specialty-section:nth-of-type(even) {
    background-color: var(--primary-bg);
}

.main-header,
.page-header,
.about-section:nth-of-type(even),
.services-overview:nth-of-type(even),
.specialty-section:nth-of-type(even),
.main-footer {
    color: var(--text-dark);
}
.about-section h2,
.services-overview h2,
.specialty-section h2,
.map-section h2 {
    font-size: 38px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-light);
}

.faq-section h2 {
    font-size: 38px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-light);
}

.about-section:nth-of-type(even) h2,
.services-overview:nth-of-type(even) h2,
.specialty-section:nth-of-type(even) h2 {
    color: var(--text-dark);
}

.about-section p,
.specialty-section p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

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

.service-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 24px;
    padding: 20px 25px 10px;
    color: var(--text-light);
}

.service-card p {
    padding: 0 25px 25px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Internal Links Section */
.internal-links-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.internal-links-section h2 {
    font-size: 38px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-bg);
}

.links-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.links-column {
    background-color: #fff;
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
}

.links-column:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.15);
}

.links-column h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.links-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.links-column li {
    margin-bottom: 10px;
}

.links-column a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-light);
    background-color: #f9f4ea;
    transition: all var(--transition-speed) ease;
}

.links-column a:hover {
    background-color: #fff;
    color: var(--accent-color);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Page Header */
.page-header {
    background-color: var(--primary-bg);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    color: var(--text-dark);
}

/* About Page */
.about-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--accent-color);
}

/* Service Detail Page */
.service-detail-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail-section h2 {
    font-size: 32px;
    margin: 40px 0 18px;
    color: var(--text-light);
}

.service-detail-section h2:first-of-type {
    margin-top: 0;
}

.service-detail-section h3 {
    font-size: 22px;
    margin: 28px 0 12px;
    color: var(--text-light);
}

.service-detail-section p {
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 18px;
    text-align: left;
}

.service-detail-section ul,
.service-detail-section ol {
    margin: 0 0 22px 22px;
    padding-left: 18px;
}

.service-detail-section li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.service-detail-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-detail-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.service-detail-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--accent-color);
}

/* Service City Links */
.city-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.city-links li {
    list-style: none;
    margin: 0;
}

.city-links a {
    display: block;
    background-color: #fff;
    color: var(--text-light);
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.city-links a:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* Service Areas List */
.service-areas-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-areas-list li {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.service-areas-list li:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-areas-list a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
}

/* Contact Page */
.contact-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-light);
}

.contact-info p {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.map-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--accent-color);
}

/* FAQ Section */
.faq-item {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-color);
}

.faq-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.faq-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Map Section */
.map-section iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--accent-color);
}

/* Footer */
.main-footer {
    background-color: var(--secondary-bg);
    color: var(--text-dark);
    padding: 60px 0 20px;
}

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

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-about p,
.footer-contact p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

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

.footer-links a {
    font-size: 15px;
    color: var(--text-dark);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact a {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(247, 241, 227, 0.2);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-dark);
}

/* Sticky Quote Button */
.sticky-quote-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(176, 141, 87, 0.4);
    transition: all var(--transition-speed) ease;
    z-index: 999;
}

.sticky-quote-btn:hover {
    background-color: #9a7a4a;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(176, 141, 87, 0.5);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-speed) ease;
    z-index: 1;
}

.modal-close:hover {
    background-color: #9a7a4a;
    transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .burger-menu {
        display: flex;
        margin-left: auto;
    }

    .main-header .container {
        position: relative;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--secondary-bg);
        transition: right 0.4s ease;
        overflow-y: auto;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        width: 100%;
    }

    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(247, 241, 227, 0.1);
    }

    .main-nav > ul > li > a {
        display: block;
        padding: 15px 25px;
        width: 100%;
        text-align: left;
    }

    .main-nav a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(10, 27, 42, 0.5);
        padding: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 600px;
    }

    .dropdown-menu li {
        opacity: 1;
        transform: none;
        animation: none;
        border-bottom: 1px solid rgba(247, 241, 227, 0.05);
    }

    .dropdown-menu a {
        padding: 12px 25px 12px 45px;
        text-align: left;
    }

    .header-contact {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 12px;
        padding-top: 10px;
    }

    .header-contact a {
        font-size: 13px;
    }

    .hero-section {
        background-attachment: scroll;
    }

    .hero-section .container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-flex,
    .service-detail-flex,
    .contact-flex {
        grid-template-columns: 1fr;
    }

    .links-container {
        grid-template-columns: 1fr;
    }

    .sticky-quote-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 25px;
        font-size: 16px;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 24px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .feedback-form-container {
        padding: 25px 20px;
    }

    .about-section h2,
    .services-overview h2,
    .specialty-section h2,
    .map-section h2 {
        font-size: 28px;
    }

    .sticky-quote-btn {
        bottom: 15px;
        right: 15px;
        left: 15px;
        width: calc(100% - 30px);
        text-align: center;
    }
}
