/* ===================================================================
   MR. CARL HANDYMAN SERVICES - STYLESHEET
   ===================================================================
   
   COLOR PALETTE (Copy to Webflow):
   --------------------------------------------------
   Primary Blue:      #1E3A8A  (Professional navy blue)
   Dark Blue:         #1E293B  (Deep slate)
   Accent Orange:     #F97316  (Vibrant orange - tool/safety accent)
   Light Gray:        #F1F5F9  (Soft neutral background)
   Off-White:         #FDFCF9  (Almost white)
   Medium Gray:       #64748B  (Neutral gray for text)
   Dark Text:         #0F172A  (Almost black text)
   Success Green:     #10B981  (For trust indicators)
   
   TYPOGRAPHY:
   --------------------------------------------------
   Headings:   'Playfair Display', serif
   Body:       'Poppins', sans-serif
   
   SPACING SYSTEM:
   --------------------------------------------------
   Base unit: 8px
   Small:     16px (2 units)
   Medium:    24px (3 units)
   Large:     48px (6 units)
   XL:        80px (10 units)
   
   BREAKPOINTS:
   --------------------------------------------------
   Mobile:    < 768px
   Tablet:    768px - 1024px
   Desktop:   > 1024px
   
   =================================================================== */


/* ===================================================================
   RESET & BASE STYLES
   =================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #0F172A;
    background-color: #FDFCF9;
    overflow-x: hidden;
}

/* Container - Max width for content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================================================
   TYPOGRAPHY
   =================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0F172A;
}

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

p {
    color: #64748B;
    margin-bottom: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.btn {
    display: inline-block;
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #1E3A8A;
    color: #FDFCF9;
}

.btn-primary:hover {
    background-color: #1E293B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #FDFCF9;
    border: 2px solid #FDFCF9;
}

.btn-secondary:hover {
    background-color: #FDFCF9;
    color: #8B6F47;
}

.btn-lg {
    padding: 16px 48px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 252, 249, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

/* Logo */
.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1E3A8A;
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: #0F172A;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F97316;
    transition: width 0.3s ease;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #1E3A8A;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 70px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    color: #FDFCF9;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: #FDFCF9;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #F1F5F9;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===================================================================
   SECTION HEADERS (Reusable)
   =================================================================== */

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    margin-bottom: 16px;
    color: #0F172A;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748B;
}

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

.services {
    padding: 80px 0;
    background-color: #FDFCF9;
}

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

/* Service Card */
.service-card {
    background-color: #FFFFFF;
    padding: 40px 24px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #F1F5F9;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.15);
    border-color: #1E3A8A;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #F97316 0%, #1E3A8A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #FDFCF9;
}

.service-card h3 {
    margin-bottom: 16px;
    color: #0F172A;
}

.service-card p {
    color: #64748B;
    font-size: 0.95rem;
}

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

.about {
    padding: 80px 0;
    background-color: #F1F5F9;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* About Image */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

/* About Content */
.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    margin-bottom: 32px;
    line-height: 1.8;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.benefits-list li {
    padding: 12px 0;
    color: #0F172A;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-list i {
    color: #10B981;
    font-size: 1.2rem;
}

/* Business Info */
.business-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.info-box {
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.info-box h4 {
    margin-bottom: 16px;
    color: #1E3A8A;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box p {
    margin-bottom: 8px;
    color: #64748B;
    font-size: 0.95rem;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #F97316;
    font-weight: 600;
    margin-top: 12px;
}

.map-link:hover {
    color: #1E3A8A;
}

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

.reviews {
    padding: 80px 0;
    background-color: #FDFCF9;
}

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

/* Review Card */
.review-card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #F1F5F9;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.1);
    transform: translateY(-4px);
}

.stars {
    color: #F97316;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.review-text {
    font-style: italic;
    color: #64748B;
    margin-bottom: 20px;
    line-height: 1.8;
}

.reviewer {
    display: flex;
    flex-direction: column;
}

.reviewer strong {
    color: #0F172A;
    margin-bottom: 4px;
}

.reviewer span {
    color: #1E3A8A;
    font-size: 0.9rem;
}

/* Placeholder Card */
.placeholder-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border: 2px dashed #1E3A8A;
}

.placeholder-content {
    text-align: center;
}

.placeholder-content i {
    font-size: 3rem;
    color: #1E3A8A;
    margin-bottom: 16px;
}

.placeholder-content p {
    color: #64748B;
    font-weight: 600;
}

/* ===================================================================
   GALLERY SECTION
   =================================================================== */

.gallery {
    padding: 80px 0;
    background-color: #FDFCF9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: #FDFCF9;
    font-size: 1.1rem;
    margin: 0;
}

/* Gallery Placeholder */
.gallery-placeholder {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #1E3A8A;
}

.placeholder-text {
    text-align: center;
    color: #1E3A8A;
}

.placeholder-text i {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.placeholder-text p {
    color: #64748B;
    font-weight: 600;
    margin: 0;
}

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

.contact {
    padding: 80px 0;
    background-color: #F1F5F9;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

/* Contact Form */
.contact-form-container {
    background-color: #FFFFFF;
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #0F172A;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #FDFCF9;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1E3A8A;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Contact Info Cards */
.contact-info {
    display: none;
}

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

.footer {
    background-color: #0F172A;
    color: #E2E8F0;
    padding: 64px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.2);
}

.footer-col h3,
.footer-col h4 {
    color: #F97316;
    margin-bottom: 20px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
}

.footer-col p {
    color: #E2E8F0;
    opacity: 0.9;
}

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

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

.footer-links a {
    color: #E2E8F0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F97316;
}

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

.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #E2E8F0;
}

.footer-contact i {
    color: #F97316;
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    color: #E2E8F0;
    opacity: 0.8;
}

/* ===================================================================
   BACK TO TOP & CHAT BUTTONS - REMOVED
   =================================================================== */

.back-to-top,
.chat-button {
    display: none;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .business-info {
        grid-template-columns: 1fr;
    }
    
    /* Services - 2 columns on tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    /* Gallery - 2 columns on tablet */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    
    /* Typography - Reduced sizes */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
    
    /* Reduce section padding */
    .services,
    .about,
    .reviews,
    .gallery,
    .contact {
        padding: 48px 0;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    /* Logo size adjustment */
    .logo img {
        height: 50px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #FDFCF9;
        flex-direction: column;
        align-items: center;
        padding: 48px 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero - More compact */
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-lg {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    /* Services - 2 columns on mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .service-card {
        padding: 24px 16px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 16px;
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    /* About - More compact */
    .about-image img {
        height: 300px;
    }
    
    .about-text {
        margin-bottom: 20px;
        font-size: 0.95rem;
    }
    
    .benefits-list {
        margin-bottom: 24px;
    }
    
    .benefits-list li {
        padding: 8px 0;
        font-size: 0.95rem;
    }
    
    .business-info {
        gap: 16px;
    }
    
    .info-box {
        padding: 20px;
    }
    
    /* Gallery - 2 columns on mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Reviews - Keep single column but compact */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 24px;
    }
    
    .review-text {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    /* Contact */
    .contact-form-container {
        padding: 24px 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer - More compact */
    .footer {
        padding: 48px 0 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 32px;
    }
    
    .footer-logo img {
        height: 60px;
    }
}

/* Extra Small Mobile - 300px to 480px */
@media (max-width: 480px) {
    /* Typography - Even smaller */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1rem; }
    
    /* Tighter spacing */
    .services,
    .about,
    .reviews,
    .gallery,
    .contact {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Hero even more compact */
    .hero {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    /* Services cards more compact */
    .service-card {
        padding: 20px 12px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .service-card h3 {
        font-size: 0.95rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
    
    /* About image smaller */
    .about-image img {
        height: 250px;
    }
    
    /* Gallery tighter */
    .gallery-grid {
        gap: 10px;
    }
    
    /* Review cards more compact */
    .review-card {
        padding: 20px;
    }
    
    .stars {
        font-size: 1rem;
    }
}