/*
Theme Name: Casa Demenagement
Theme URI: https://casa-demenagement.com
Author: Ayoub Elaoutar
Description: Thème WordPress sur mesure pour Casa Déménagement.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: landing-page, moving-company, professional
*/

/* 
   Theme: Modern Premium Moving Company
   Theme: Modern Premium Moving Company
   Colors: Navy/Blue (Trust), Orange/Gold (Action)
*/

:root {
    --primary-color: #0F172A;
    /* Slate 900 - Deep Navy */
    --accent-color: #F59E0B;
    /* Amber 500 - Trusty Gold/Orange */
    --accent-hover: #D97706;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --success: #10B981;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --container-padding: 1rem;
    --max-width: 1200px;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--off-white);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color) 0%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

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

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

.btn-secondary:hover {
    background-color: #f1f5f9;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: var(--white);
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.logo-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.highlight {
    color: var(--accent-color);
}

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

.hidden-mobile {
    display: none;
}

/* Sticky Bottom CTA */
.sticky-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    z-index: 2000;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    display: block;
    /* Mobile default */
}

/* Spacer for sticky CTA on mobile so content isn't covered */
body {
    padding-bottom: 80px;
}

/* Utilities */
@media (min-width: 768px) {

    /* Hide sticky CTA on desktop */
    .sticky-bottom-cta {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    .hidden-mobile {
        display: inline-flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    min-height: 85vh;
    /* Mobile first height */
    background-color: var(--primary-color);
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
}

.badge-trust {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.hero h1 {
    font-size: 2.5rem;
    /* Mobile Size */
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #CBD5E1;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #CBD5E1;
}

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

.feature-item i {
    color: var(--success);
}

/* Animations */
@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.pulse-animation {
    animation: pulse-btn 2s infinite;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 2000;
    transition: right 0.3s ease-in-out;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-nav-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-mobile-call {
    color: var(--accent-color) !important;
}

/* Utilities */
@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-menu {
        display: block;
    }

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

    .nav-links a {
        color: #94A3B8;
        font-weight: 500;
    }

    .nav-links a:hover {
        color: var(--white);
    }

    .desktop-only {
        display: inline-flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .hero {
        text-align: left;
        background-position: center right;
    }

    .hero-content {
        text-align: left;
        max-width: 800px;
        margin-left: 0;
        padding-left: 3rem;
        /* Added spacing from left */
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-features {
        justify-content: flex-start;
    }
}

/* Services Section */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.card-icon {
    width: 64px;
    height: 64px;
    background-color: #FFF7ED;
    /* Light orange bg */
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.b2b-card .card-icon {
    background-color: #EFF6FF;
    /* Light blue bg */
    color: var(--primary-color);
}

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

.service-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Pushes content down ensuring consistent height */
}

.service-list {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-list li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.service-list li i {
    color: var(--success);
    margin-top: 4px;
    /* Align checkmark with text top */
}

.btn-outline-dark {
    display: block;
    text-align: center;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* Trust Section */
.trust-section {
    background-color: #F8FAFC;
}

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

.trust-item {
    text-align: center;
    padding: 1.5rem;
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    /* subtle float animation */
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.trust-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.trust-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-preview {
    background-color: var(--primary-color);
    border-radius: 16px;
    padding: 3rem;
    color: var(--white);
    text-align: center;
}

.quote-header {
    margin-bottom: 2rem;
}

.quote-header i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.stars {
    color: #FBBF24;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #E2E8F0;
}

.client-name {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E293B 100%);
    padding: 6rem 0;
    color: var(--white);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.required {
    color: #EF4444;
}

.form-group input,
.form-group select {
    padding: 0.875rem;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    width: 100%;
    background-color: var(--off-white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    background-color: var(--white);
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .form-wrapper {
        padding: 4rem;
    }

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

/* Process Section */
.process-section {
    background-color: var(--white);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 4px solid #E2E8F0;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background-color: var(--accent-color);
    border-color: #FFF7ED;
    transform: scale(1.1);
}

.step-item h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step-line {
    display: none;
}

/* Final CTA Section */
.cta-section {
    background-color: var(--accent-color);
    padding: 5rem 0;
    text-align: center;
    color: var(--primary-color);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .process-steps {
        flex-direction: row;
        align-items: flex-start;
    }

    .step-line {
        display: block;
        flex: 1;
        height: 2px;
        background-color: #E2E8F0;
        margin-top: 30px;
        /* Half of step-number height */
    }

    .cta-buttons {
        flex-direction: row;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #94A3B8;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-list i {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        /* Simplifed to 2 columns */
    }
}
/* Contact Form 7 Overrides */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0.5rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    padding: 0.875rem;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    width: 100%;
    background-color: var(--off-white);
    margin-top: 0.5rem;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    background-color: var(--white);
}

.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    background-color: var(--accent-color);
    color: var(--primary-color);
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.wpcf7 input[type="submit"]:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.wpcf7-response-output {
    border-radius: 8px;
    padding: 1rem !important;
    text-align: center;
    margin-top: 1rem !important;
}

div.wpcf7-mail-sent-ok {
    background-color: #d1fae5 !important;
    border: 1px solid #10b981 !important;
    color: #065f46 !important;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    background-color: #fee2e2 !important;
    border: 1px solid #ef4444 !important;
    color: #991b1b !important;
}
