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

:root {
    --primary-gold: #baa47d;
    --primary-blue: #1D233A;
    --background-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --border-light: #e5e5e5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
    background-color: #151b2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    /* All header styling is now handled via inline styles for each page */
}

.header-content {
    /* Styling handled via inline styles */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 60px;
    height: 60px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-gold);
}

.cta-button {
    background-color: var(--primary-gold);
    color: var(--background-white) !important;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #a8946a;
    color: var(--background-white) !important;
}

/* Mobile menu toggle - will be handled by mobile-menu.js */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-list li {
        margin: 0;
        width: 100%;
    }
    
    .nav-list a {
        font-size: 1rem;
        padding: 0.75rem 1rem;
        display: block;
        border-radius: 6px;
        transition: var(--transition);
        border: 1px solid transparent;
    }
    
    .nav-list a:hover {
        background-color: var(--primary-gold);
        color: var(--background-white) !important;
        border-color: var(--primary-gold);
    }
    
    .cta-button {
        background-color: var(--primary-gold) !important;
        color: var(--background-white) !important;
        margin-top: 0.5rem;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 6px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a3447 100%);
    color: var(--background-white);
    padding: 6rem 0;
    position: relative;
    text-align: center;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 35, 58, 0.8);
    z-index: 1;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--background-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

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

.service-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin: 1rem 0;
}

/* About Section */
.about {
    padding: 5rem 0;
}

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

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

.benefits-list {
    list-style: none;
    margin-top: 1.5rem;
}

.benefits-list li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.about-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Service Areas Section */
.service-areas {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

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

.area-link {
    background-color: var(--background-white);
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--primary-blue);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-weight: 500;
}

.area-link:hover {
    background-color: var(--primary-gold);
    color: var(--background-white);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item a {
    color: var(--primary-gold);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Form Styles */
.form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(186, 164, 125, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--background-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 h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #3a4252;
    color: #a0a0a0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Contact Page Styles */
.contact-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-method {
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
}

.jobber-form-container {
    transition: box-shadow 0.3s ease;
}

.jobber-form-container:hover {
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .contact-form {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .hero-overlay {
        display: none;
    }
}

/* Mobile Responsiveness for Contact Page */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero {
        min-height: 300px;
        padding: 60px 20px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .jobber-form-container {
        padding: 20px;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .contact-icon {
        font-size: 1.5rem !important;
        margin-right: 15px !important;
    }
    
    /* Reviews Section Mobile */
    .review-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .reviews-container {
        padding: 25px;
    }
}

/* Google Reviews Section Styles */
.reviews-section {
    background-color: #f8f9fa;
}

.reviews-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.reviews-container h3 {
    color: #1D233A;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    padding: 0 20px;
}

#reviews-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #baa47d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #baa47d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: #1D233A;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

.review-rating {
    text-align: right;
}

.review-rating .stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.verified-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.review-text {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

.reviews-cta {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px;
}

.reviews-cta p {
    margin-bottom: 20px;
    color: #666;
}

.reviews-cta a {
    color: #baa47d;
    text-decoration: none;
    font-weight: 500;
}

.reviews-cta .btn {
    margin-top: 10px;
}

/* Mobile Responsiveness for Reviews */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-rating {
        text-align: left;
        margin-top: 10px;
    }
    
    .reviews-container {
        padding: 20px;
    }
    
    .reviews-container h3 {
        font-size: 1.5rem;
        padding: 0 15px;
    }
    
    .reviews-cta {
        margin: 15px;
        padding: 20px;
    }
}
