/* ===================================
   DEBNEY MECHANICAL - STYLESHEET
   =================================== */

/* Root Variables */
:root {
    /* Color Palette */
    --maroon: #800020;
    --white: #FFFFFF;
    --light-grey: #F3F4F6;
    --dark-grey: #374151;
    
    /* Additional Colors */
    --dark-maroon: #5D001E;
    --light-maroon: #A0002A;
    --hover-maroon: #B30024;
    --success: #28a745;
    --error: #dc3545;
    
    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Bebas Neue', cursive;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-grey);
    background-color: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--maroon);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--maroon);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background-color: var(--hover-maroon);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(128, 0, 32, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--maroon);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--maroon);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid var(--white);
}

.navbar.scrolled {
    background-color: rgba(128, 0, 32, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

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

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

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

.logo-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

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

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

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--white);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background-color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-image-1,
.hero-image-2,
.hero-image-3 {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-image-1 {
    background-image: url('https://imagedelivery.net/AxiltAhlSb-DenOHJvSIVw/db-hero-image-1/public');
}

.hero-image-2 {
    background-image: url('https://imagedelivery.net/AxiltAhlSb-DenOHJvSIVw/db-hero-image-2/public');
}

.hero-image-3 {
    background-image: url('https://imagedelivery.net/AxiltAhlSb-DenOHJvSIVw/db-hero-image-3/public');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(128, 0, 32, 0.3) 0%,
        rgba(93, 0, 30, 0.2) 50%,
        rgba(128, 0, 32, 0.3) 100%
    );
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero badge removed */

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line-1 {
    font-size: 2.5rem;
    font-weight: 300;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
}

.title-line-2 {
    font-size: 4rem;
    color: var(--white) !important;
    font-weight: 700;
    opacity: 0;
    animation: slideInRight 0.8s ease-out 0.5s forwards;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.title-line-3 {
    font-size: 2rem;
    font-weight: 300;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.7s forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
}

.hero-feature i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.hero-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 180px;
    justify-content: center;
}

.hero-buttons .btn i {
    font-size: 1rem;
}



/* Hero bottom removed - no longer needed */

/* Scroll indicator removed - no longer needed */

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

section:not(.hero):not(.contact):not(.footer)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--maroon), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--maroon);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--dark-grey);
    font-weight: 500;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--light-grey) 0%, #FAFAFA 100%);
    position: relative;
}

.services::before {
    display: none;
}

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--maroon);
    transform: translateX(-100%);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--hover-maroon);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--maroon);
    font-family: var(--font-heading);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-grey);
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.image-placeholder {
    background-color: var(--light-grey);
    height: 400px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-grey);
    font-size: 3rem;
}

.image-placeholder p {
    font-size: 1rem;
    margin-top: 1rem;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, #FAFAFA 0%, var(--light-grey) 100%);
    position: relative;
}

.why-us::before {
    display: none;
}

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

.feature {
    text-align: center;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background-color: var(--maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    background-color: var(--hover-maroon);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

/* Case Study Section */
.case-study {
    background-color: var(--white);
    position: relative;
}

.case-study-content {
    max-width: 1000px;
    margin: 0 auto;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.before-section,
.after-section {
    text-align: center;
}

.before-section h3,
.after-section h3 {
    color: var(--maroon);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.before-image,
.after-image {
    margin-bottom: 1.5rem;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.before-image img:hover,
.after-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}





/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item {
    position: relative;
}

.before-after-pair {
    display: flex;
    gap: 2px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.before-after-pair img {
    flex: 1;
    height: 100%;
    object-fit: cover;
}

.before-after-pair .before-label,
.before-after-pair .after-label {
    position: absolute;
    top: 8px;
    background: rgba(128, 0, 32, 0.9);
    color: white;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 2;
}

.before-after-pair .before-label {
    left: 8px;
}

.before-after-pair .after-label {
    right: 8px;
}

.portfolio-placeholder {
    background-color: var(--light-grey);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-grey);
    font-size: 3rem;
}

.portfolio-scroll-indicator {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    color: var(--dark-grey);
    font-size: 0.9rem;
    animation: fadeInPulse 2s ease-in-out infinite;
    cursor: pointer;
    transition: color 0.3s ease;
}

.portfolio-scroll-indicator:hover {
    color: var(--maroon);
}

.scroll-arrow {
    animation: slideRight 1.5s ease-in-out infinite;
}

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

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Contact Section */
.contact {
    background-color: var(--maroon);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-subtitle {
    color: var(--light-grey);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.contact-form {
    width: 100%;
    max-width: 800px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background-color: var(--maroon);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--light-grey);
    transition: var(--transition);
    pointer-events: none;
}

.form-group textarea ~ label {
    top: 20px;
    transform: translateY(0);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group select:focus ~ label,
.form-group select ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.875rem;
    background-color: var(--maroon);
    padding: 0 10px;
    color: var(--white);
}

/* Contact Form Button */
.contact-form .btn {
    display: block;
    margin: 2rem auto 0;
    width: auto;
    min-width: 200px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.info-item h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--light-grey);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Google Maps Section */
.maps-section {
    background-color: var(--light-grey);
    padding: 4rem 0 4rem;
    position: relative;
}

.maps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(75, 75, 75, 0.3), transparent);
}

.maps-section .section-title {
    color: var(--maroon);
    margin-bottom: 1rem;
}

.maps-section .section-subtitle {
    color: var(--dark-grey);
    margin-bottom: 3rem;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .maps-section {
        padding: 3rem 0 3rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .maps-section {
        padding: 2rem 0 2rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .logo {
        gap: 0.75rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-maroon) 0%, var(--maroon) 100%);
    color: var(--white);
    padding: 4rem 0 0;
    width: 100vw;
    margin: 0;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--white), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    justify-items: start;
}



@media (max-width: 1024px) {
    .footer-content {
        justify-items: center;
        text-align: center;
    }
    
    .footer-section:first-child {
        text-align: center;
    }
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    opacity: 0.9;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.footer-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-logo-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-description {
    color: var(--light-grey);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 1025px) {
    .footer-social {
        justify-content: flex-start;
    }
}

.footer-social a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-social a:hover {
    background-color: var(--white);
    color: var(--maroon);
    transform: translateY(-3px);
}

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

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

.footer-links a {
    color: var(--light-grey);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

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

.footer-contact .contact-item i {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 0.25rem;
    min-width: 20px;
}

.footer-contact .contact-item span {
    color: var(--light-grey);
    line-height: 1.6;
}

.footer-hours .hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours .hours-item:last-child {
    border-bottom: none;
}

.footer-hours .hours-item.emergency {
    background-color: rgba(253, 203, 0, 0.1);
    border-radius: 4px;
    padding: 0.75rem;
    border: 1px solid rgba(253, 203, 0, 0.3);
}

.footer-hours .day {
    color: var(--white);
    font-weight: 500;
}

.footer-hours .time {
    color: var(--light-grey);
    font-size: 0.9rem;
}

.footer-hours .emergency .day,
.footer-hours .emergency .time {
    color: var(--white);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100vw;
    margin: 0;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.footer-bottom-content p {
    margin: 0;
    color: var(--light-grey);
    font-size: 0.9rem;
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--maroon);
    color: var(--white);
    transform: translateY(-5px);
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (min-width: 1200px) {
    .contact-info {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-content {
        justify-content: center;
        position: relative;
        padding: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--maroon);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: var(--transition);
    }
    
    .nav-links .nav-link {
        color: var(--white);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero {
        min-height: 600px;
        padding-top: 70px;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero-images {
        flex-direction: column;
    }
    
    .hero-image-1,
    .hero-image-2,
    .hero-image-3 {
        height: 33.33%;
    }
    
    .hero-features {
        gap: 1.5rem;
        margin-bottom: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-feature {
        justify-content: center;
        align-items: center;
        text-align: center;
        max-width: 200px;
    }
    
    .hero-feature span {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
    }
    

    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-content {
        padding: 0 1rem;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
    .contact-form {
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
    }
    
    .contact-form .btn {
        margin: 1.5rem auto 0;
        min-width: 180px;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .contact-info .info-item {
        gap: 0.4rem;
    }
    
    .contact-info .info-item i {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    
    .contact-info .info-item h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-info .info-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: center;
        justify-items: center;
    }
    
    .footer-contact .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-contact .contact-item i {
        font-size: 1.5rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .title-line-1,
    .title-line-3 {
        font-size: 1.5rem;
    }
    
    .title-line-2 {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
        align-items: center;
    }
    
    .hero-feature {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 250px;
    }
    
    .hero-feature i {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .hero-feature span {
        text-align: center;
    }
    
    .before-after {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .before-image img,
    .after-image img {
        height: 200px;
    }
    

    

}

@media (max-width: 768px) {
    .portfolio-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1.5rem;
        padding: 1rem 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        max-width: none;
        margin: 0;
        height: 220px;
    }
    
    .portfolio-item {
        flex: 0 0 300px;
        min-width: 300px;
    }
    
    .portfolio-item img {
        height: 180px;
    }
    
    .before-after-pair {
        gap: 1px;
        height: 180px;
    }
    
    .portfolio-scroll-indicator {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        color: var(--dark-grey);
        font-size: 0.9rem;
        margin-top: 1rem;
        opacity: 0.8;
    }
    
    .portfolio-scroll-indicator i {
        animation: slideLeft 2s infinite;
    }
    
    @keyframes slideLeft {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(5px); }
    }
    
    /* Hide scrollbar completely */
    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }
    
    /* For Firefox */
    .portfolio-grid {
        scrollbar-width: none;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        height: 200px;
    }
    
    .portfolio-item {
        flex: 0 0 270px;
        min-width: 270px;
    }
    
    .portfolio-item img {
        height: 160px;
    }
    
    .before-after-pair {
        gap: 1px;
        height: 160px;
    }
    
    .before-after-pair img {
        height: 160px;
    }
    
    .before-after-pair .before-label {
        top: 4px;
        left: 4px;
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .before-after-pair .after-label {
        top: 4px;
        right: 4px;
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .portfolio-scroll-indicator {
        font-size: 0.8rem;
        padding: 0.75rem 0;
    }
    
    .contact .section-header {
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .contact-content {
        padding: 0 0.5rem;
        gap: 2rem;
        justify-content: center;
    }
    
    .contact-form {
        padding: 0 0.5rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .contact-form .btn {
        margin: 1.5rem auto 0;
        min-width: 180px;
        padding: 16px 24px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .contact-info .info-item {
        gap: 0.4rem;
    }
    
    .contact-info .info-item i {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .contact-info .info-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }
    
    .contact-info .info-item p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        justify-items: center;
    }
    
    .footer-contact .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .footer-contact .contact-item i {
        font-size: 1.4rem;
        margin-top: 0;
        margin-bottom: 0.4rem;
    }
    
    .footer-logo {
        gap: 0.75rem;
        justify-content: center;
    }
    
    .footer-logo-text {
        font-size: 1.1rem;
    }
    
    .footer-hours .hours-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    body {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Remove mobile phone number auto-linking */
@media (max-width: 768px) {
    a[href^="tel:"] {
        color: inherit !important;
        text-decoration: none !important;
        pointer-events: none;
    }
    
    /* Prevent automatic phone number detection styling */
    .info-item p,
    .footer-contact span {
        -webkit-text-size-adjust: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
} 