/* ============================================
   IDENTITE VISUELLE - Les Toitures du Périgord
   Palette: Blanc (#ffffff) | Noir (#141b1f) | Orange (#fc8002)
   D'après l'analyse des images du dossier Racine
   ============================================ */

:root {
    --primary: #fc8002;
    --primary-light: #ff9c00;
    --primary-dark: #eb8732;
    --secondary: #141b1f;
    --secondary-light: #171d22;
    --secondary-dark: #0f1418;
    --background: #ffffff;
    --background-light: #fefefe;
    --background-dark: #f8f8f8;
    --text: #141b1f;
    --text-light: #5a5a5a;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

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

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 27, 31, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(20, 27, 31, 0.98);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-text span {
    color: var(--primary);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    transition: var(--transition);
    padding: 100px 40px 40px;
    z-index: 999;
}

.nav-menu.active {
    right: 0;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 30px;
}

.nav-menu a {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    padding: 10px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
    transform: translateX(10px);
}

.nav-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.nav-menu .close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 50%, var(--background-dark) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23f0f0f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.15;
}

.hero-content {
    max-width: 1200px;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    animation: fadeInUp 1s ease-out;
}

.hero-text,
.hero-image {
    min-width: 0;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-text .subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(252, 128, 2, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(252, 128, 2, 0.6);
}

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

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

.hero-image {
    position: relative;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: rotate(3deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: rotate(0deg) scale(1.05);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    z-index: -1;
    border-radius: 25px;
    opacity: 0.1;
    transition: var(--transition);
}

.hero-image:hover::before {
    opacity: 0.2;
}

/* Floating elements for visual interest */
.floating-element {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 10%;
    left: 15%;
    animation-delay: 4s;
}

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

.services {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--background-light) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
}

.section-header .label {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(252, 128, 2, 0.3);
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-card .learn-more:hover {
    gap: 15px;
}

/* ============================================
   SERVICE DETAIL PAGES
   ============================================ */

.service-detail-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
}

.service-detail-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
}

.service-detail-hero .label {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.service-detail-hero h1 {
    max-width: 860px;
    font-size: 3.4rem;
    line-height: 1.12;
    margin-bottom: 22px;
}

.service-detail-hero h1 span {
    color: var(--primary);
}

.service-detail-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-detail-content {
    padding: 80px 0;
    background: var(--background);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 46px;
    align-items: start;
}

.service-detail-main h2,
.service-detail-side h2 {
    color: var(--secondary);
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 18px;
}

.service-detail-main h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin: 34px 0 14px;
}

.service-detail-main p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 18px;
}

.service-detail-list {
    display: grid;
    gap: 14px;
    margin: 22px 0 30px;
    list-style: none;
}

.service-detail-list li {
    display: flex;
    gap: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

.service-detail-list i {
    color: var(--primary);
    margin-top: 5px;
}

.service-detail-side {
    background: var(--background-dark);
    border-radius: 16px;
    padding: 34px;
    position: sticky;
    top: 120px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.service-detail-side p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 22px;
}

.service-detail-side .btn {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 14px;
}

.service-detail-zones {
    padding-top: 20px;
    border-top: 1px solid rgba(20, 27, 31, 0.12);
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.8;
}

.breadcrumb {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary);
}

.service-faq {
    padding: 0 0 80px;
    background: var(--background);
}

.service-faq h2 {
    color: var(--secondary);
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 28px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(20, 27, 31, 0.1);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--secondary);
    font-size: 1.12rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.75;
}

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

.about {
    padding: 100px 0;
    background: var(--background);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-content {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 100px 0;
    background: var(--background);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 0.3;
}

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

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

.gallery-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-item.gallery-hidden {
    display: none;
}

.gallery-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.gallery-actions .btn {
    border-radius: 12px;
}

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

.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="60" cy="10" r="1.5" fill="%23ffffff" opacity="0.1"/></svg>');
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    animation: fadeInUp 1s ease-out;
}

.contact-info h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.contact-info h2 span {
    color: var(--primary);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: grid;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 5px;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

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

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

.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.contact-form p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(252, 128, 2, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23141b1f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(252, 128, 2, 0.4);
}

/* ============================================
   GOOGLE BUSINESS SECTION
   ============================================ */

.google-business {
    padding: 100px 0;
    background: var(--background-light);
}

.google-business-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
}

.google-review-card,
.google-map {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.google-review-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.google-review-card .label {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.google-review-card h2 {
    font-size: 2.4rem;
    line-height: 1.15;
    color: var(--secondary);
    margin-bottom: 18px;
}

.google-review-card h2 span {
    color: var(--primary);
}

.google-review-card p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.google-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.google-actions .btn {
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.google-map {
    min-height: 420px;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

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

.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.footer-column h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-bottom .copyright {
    margin-bottom: 15px;
}

.footer-bottom a {
    color: var(--primary);
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* ============================================
   LEGAL PAGE
   ============================================ */

.legal-page {
    padding: 150px 0 80px;
    background: var(--background);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.legal-container h1 {
    font-size: 3rem;
    line-height: 1.15;
    color: var(--secondary);
    margin-bottom: 28px;
}

.legal-container h2 {
    font-size: 1.55rem;
    color: var(--secondary);
    margin: 38px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(252, 128, 2, 0.25);
}

.legal-container p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-container strong {
    color: var(--secondary);
}

.legal-container a {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(252, 128, 2, 0.4);
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(252, 128, 2, 0.4);
}

/* ============================================
   CALL FLOATING BUTTON
   ============================================ */

.call-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(252, 128, 2, 0.4);
    transition: var(--transition);
    z-index: 1000;
}

.call-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(252, 128, 2, 0.6);
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto 30px;
    border: 3px solid var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.loader-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

.loader-text span {
    color: var(--primary);
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 30px auto 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

@media (max-width: 1024px) {
    .hero-content,
    .about-container,
    .contact-container,
    .google-business-container,
    .service-detail-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
    }
    
    .hero-image img {
        transform: rotate(0deg);
    }
    
    .hero-image:hover img {
        transform: scale(1.05);
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-features {
        justify-content: center;
    }

    .google-review-card .label {
        align-self: center;
    }

    .google-actions {
        justify-content: center;
    }

    .service-detail-side {
        position: static;
    }

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

    .service-detail-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    body {
        text-align: center;
    }

    input,
    textarea,
    select {
        text-align: left;
    }

    .nav-container {
        padding: 15px 20px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }

    .nav-menu {
        width: min(86vw, 340px);
        padding: 90px 28px 32px;
    }

    .nav-menu a {
        justify-content: flex-start;
        text-align: left;
    }
    
    .hero-content {
        gap: 30px;
        width: min(100% - 36px, 560px);
        margin: 0 auto;
        justify-items: center;
    }

    .hero-text,
    .hero-image {
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        min-height: 50px;
    }

    .services,
    .about,
    .gallery,
    .contact,
    .google-business {
        padding: 70px 0;
    }

    .section-header {
        width: min(100% - 36px, 620px);
        margin: 0 auto 36px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
        line-height: 1.18;
    }

    .section-header p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        width: min(100% - 36px, 420px);
        padding: 0;
        gap: 22px;
    }

    .service-card {
        padding: 30px 24px;
        border-radius: 16px;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto 22px;
    }

    .service-card .learn-more {
        justify-content: center;
    }

    .about-container,
    .contact-container,
    .google-business-container,
    .gallery-container,
    .stats-container {
        width: min(100% - 36px, 620px);
        padding: 0;
        margin: 0 auto;
    }

    .about-image {
        max-width: 420px;
        margin: 0 auto;
    }

    .feature-item {
        justify-content: center;
        text-align: left;
    }

    .stats {
        padding: 60px 0;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
    }

    .stat-label {
        font-size: 0.82rem;
        line-height: 1.35;
        letter-spacing: 0.5px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-item {
        border-radius: 12px;
    }

    .gallery-item .gallery-overlay {
        transform: translateY(0);
        padding: 20px;
    }

    .contact-info {
        width: 100%;
    }

    .contact-details {
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .contact-item {
        align-items: center;
        text-align: left;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        font-size: 1.45rem;
    }
    
    .contact-form {
        padding: 30px;
        width: 100%;
        text-align: left;
    }

    .google-business {
        padding: 70px 0;
    }

    .google-review-card {
        padding: 30px;
        text-align: center;
    }

    .google-review-card h2 {
        font-size: 2rem;
    }

    .google-actions .btn {
        width: 100%;
    }

    .google-map,
    .google-map iframe {
        min-height: 340px;
    }

    .footer-container {
        width: min(100% - 36px, 620px);
        padding: 0;
    }

    .service-detail-hero {
        padding: 130px 0 60px;
    }

    .service-detail-hero h1 {
        font-size: 2.4rem;
    }

    .service-detail-content {
        padding: 60px 0;
    }

    .service-detail-side {
        padding: 28px;
        text-align: center;
    }

    .legal-page {
        padding: 120px 0 60px;
    }

    .legal-container {
        width: min(100% - 36px, 620px);
        padding: 0;
        text-align: left;
    }

    .legal-container h1 {
        font-size: 2.4rem;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 104px 0 58px;
    }

    .hero-content {
        width: min(100% - 28px, 380px);
        gap: 24px;
    }

    .hero-image {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-image::before {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border-radius: 18px;
    }

    .hero-image img {
        border-radius: 14px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    }

    .hero-text h1 {
        font-size: 1.72rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-text h1 .highlight {
        display: inline;
    }

    .hero-text p {
        margin-bottom: 20px;
        line-height: 1.65;
    }

    .hero-text .subtitle {
        margin-bottom: 22px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .btn {
        width: 100%;
        max-width: 330px;
        min-height: 52px;
        padding: 12px 16px;
        letter-spacing: 0.5px;
        white-space: normal;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header,
    .services-grid,
    .about-container,
    .contact-container,
    .google-business-container,
    .gallery-container,
    .stats-container,
    .footer-container {
        width: min(100% - 28px, 380px);
    }

    .section-header .label {
        padding: 9px 18px;
        font-size: 0.76rem;
        letter-spacing: 1px;
    }

    .service-card {
        padding: 26px 20px;
    }

    .service-card h3 {
        font-size: 1.28rem;
    }

    .service-card p {
        line-height: 1.65;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }

    .stats-container {
        gap: 24px 12px;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-item {
        gap: 14px;
    }

    .contact-text h4 {
        font-size: 1.05rem;
    }

    .contact-text p {
        font-size: 0.95rem;
        overflow-wrap: anywhere;
    }

    .google-review-card h2 {
        font-size: 1.8rem;
    }

    .service-detail-container {
        padding: 0 14px;
    }

    .service-detail-hero h1 {
        font-size: 1.9rem;
    }

    .service-detail-hero p,
    .service-detail-main p {
        font-size: 1rem;
    }

    .service-detail-main h2,
    .service-detail-side h2,
    .service-faq h2 {
        font-size: 1.6rem;
    }

    .service-faq {
        padding-bottom: 60px;
    }

    .legal-container {
        width: min(100% - 28px, 380px);
    }

    .legal-container h1 {
        font-size: 2rem;
    }

    .legal-container h2 {
        font-size: 1.32rem;
    }

    .google-business-container {
        padding: 0;
    }
    
    .call-float {
        bottom: 76px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }
    
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .header, .nav-menu, .nav-overlay, .back-to-top, .call-float, .floating-element {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .loader {
        display: none !important;
    }
}
