/* ============================================
   C Williams Tax Svc - Wallpaper Installation
   Professional, Modern, High-Converting Design
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1a252f;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    color: #003d82;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0052ad;
}

/* Navigation Bar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #003d82;
}

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

.nav-links a {
    font-weight: 500;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #003d82;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 47, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.phone-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: #ffffff;
}

.phone-display a {
    color: #ffffff;
    font-weight: 600;
    border-bottom: 2px solid #ffffff;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #003d82;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 61, 130, 0.3);
}

.btn-primary:hover {
    background-color: #0052ad;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 61, 130, 0.4);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease;
}

.about-content h2 {
    color: #003d82;
    margin-bottom: 1rem;
}

.about-content p {
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-highlights {
    list-style: none;
    margin-top: 2rem;
}

.about-highlights li {
    padding: 0.5rem 0;
    font-weight: 500;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #003d82;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #003d82;
    border-radius: 2px;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

.service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 61, 130, 0.15);
    border-color: #003d82;
}

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

.service-card h3 {
    color: #003d82;
    margin-bottom: 1rem;
}

.service-card p {
    color: #2c3e50;
    font-size: 0.95rem;
}

/* Why Us Section */
.why-us {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.benefit-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 61, 130, 0.15);
}

.benefit-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #003d82;
    color: #ffffff;
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: #003d82;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #2c3e50;
    font-size: 0.95rem;
}

.service-area {
    text-align: center;
    padding: 2rem;
    background-color: #003d82;
    color: #ffffff;
    border-radius: 8px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a252f;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #003d82;
}

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

.success-message {
    background-color: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 1rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h3 {
    color: #003d82;
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    color: #003d82;
    margin-bottom: 0.5rem;
}

.info-item p,
.info-item a {
    color: #2c3e50;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.map-section iframe {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Footer */
.footer {
    background-color: #1a252f;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #b0b8c1;
    font-size: 0.95rem;
}

.footer-section a {
    color: #b0b8c1;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2c3e50;
    color: #b0b8c1;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Error Message Styling */
.error-message {
    color: #ff6b6b;
    margin-top: 5px;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        height: 300px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-cta {
        gap: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}
