/* 
 * Ellen Mallay - Lincoln Financial Advisors
 * Wallpaper Installation Website
 * Modern Contractor Design with Professional Polish
 */

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

:root {
    --primary-color: #1a3a52;
    --secondary-color: #d4a574;
    --accent-color: #f5f5f5;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* ============ HEADER & NAVIGATION ============ */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--primary-color);
    box-shadow: var(--shadow-light);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.brand-title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============ HERO SECTION ============ */

.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a7b 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0,50 Q25,40 50,50 T100,50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ BUTTONS ============ */

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    font-family: 'Montserrat', sans-serif;
}

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

.btn-primary:hover {
    background-color: #e8b88a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
}

/* ============ ABOUT SECTION ============ */

.about {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fafafa, #ffffff);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.about-card {
    background: linear-gradient(135deg, var(--primary-color), #2d5a7b);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.card-stat:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============ SERVICES SECTION ============ */

.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-left-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* ============ WHY CHOOSE US SECTION ============ */

.why-choose {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #fafafa);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.benefit-block {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.benefit-block:hover {
    box-shadow: var(--shadow-medium);
    transform: scale(1.05);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.benefit-block p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ============ REVIEWS SECTION ============ */

.reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f0f0 0%, #f9f9f9 100%);
}

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.review-stars {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* ============ SERVICE AREAS SECTION ============ */

.service-areas {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fafafa, #ffffff);
}

.service-areas-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-areas-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.cities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.city-item {
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #2d5a7b);
    color: var(--text-light);
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.city-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* ============ FAQ SECTION ============ */

.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-top: 3px solid var(--secondary-color);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
    border-top-color: var(--primary-color);
}

.faq-question {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-answer {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* ============ CONTACT SECTION ============ */

.contact {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #fafafa);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.nap-info {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.contact-email a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-email a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

/* ============ MAP SECTION ============ */

.map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f0f0 0%, #f9f9f9 100%);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    margin-top: 2rem;
}

/* ============ FOOTER ============ */

.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    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(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-nap {
    font-size: 0.9rem;
    line-height: 1.8;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ============ RESPONSIVE DESIGN ============ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-link {
        display: block;
        padding: 1rem 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        background-color: rgba(212, 165, 116, 0.2);
        color: var(--secondary-color);
    }

    .hero {
        height: 400px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

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

    .container {
        padding: 0 15px;
    }

    .about-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cities-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .city-item {
        font-size: 0.85rem;
        padding: 0.8rem;
    }
}
