/* Import Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-purple: #1a0033;
    --accent-yellow: #FFD700;
    --white: #ffffff;
    --cta-red: #dc2626;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e5e5e5;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Header Styles */
header {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-yellow);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav li {
    position: relative;
    margin-left: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 1rem 0;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
    font-weight: 400;
}

.dropdown-content a:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-purple);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #2d1b69 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .accent {
    color: var(--accent-yellow);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--cta-red);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0.5rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

.cta-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
}

.cta-secondary:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-purple);
}

/* Floating Phone CTA */
.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--cta-red);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-phone:hover {
    background-color: #b91c1c;
    transform: scale(1.05);
}

@keyframes pulse {
    0% { box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 5px 30px rgba(220, 38, 38, 0.6); }
    100% { box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4); }
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-purple);
}

/* Features Section */
.features {
    background-color: #f8f9fa;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-purple);
}

/* Trust Signals */
.trust-signals {
    background-color: var(--primary-purple);
    color: var(--white);
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trust-item {
    padding: 1.5rem;
}

.trust-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

/* Content Sections */
.content-section {
    padding: 2rem 0;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-section ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Quote Form */
.quote-form {
    background-color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Location Info */
.location-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.map-container {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer */
footer {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-purple);
        flex-direction: column;
        padding: 1rem 0;
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    nav li a {
        display: block;
        padding: 1rem;
    }

    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        background-color: rgba(255,255,255,0.1);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .floating-phone {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.2rem;
    }

    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .floating-phone {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

/* Image Styles */
.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.image-left {
    float: left;
    margin-right: 2rem;
    margin-bottom: 1rem;
    max-width: 400px;
}

.image-right {
    float: right;
    margin-left: 2rem;
    margin-bottom: 1rem;
    max-width: 400px;
}

.image-center {
    display: block;
    margin: 2rem auto;
    max-width: 600px;
}

/* Clear float utility */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Emergency Badge */
.emergency-badge {
    background-color: var(--cta-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

/* Testimonial Styles */
.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
    border-left: 4px solid var(--accent-yellow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-purple);
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    background-color: #f8f9fa;
    margin-top: 70px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
}

.breadcrumb-list li {
    margin-right: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: " > ";
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--primary-purple);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}
