/*
Theme Name: La Cornue Repair Guide
Theme URI: https://lacornuerepairguide.com/
Author: Antigravity AI
Description: A premium, conversion-focused theme for La Cornue appliance repair services.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: la-cornue
*/

:root {
    --color-primary: #004a99;
    /* Decent Blue */
    --color-secondary: #002d62;
    /* Deep Navy */
    --color-bg: #ffffff;
    /* White */
    --color-text: #1a1a1a;
    --color-text-light: #555555;
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

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

/* Header */
.site-header {
    background: var(--color-white);
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.transparent {
    background: transparent;
    box-shadow: none;
    padding: 35px 0;
}

.site-header.transparent .logo text,
.site-header.transparent .logo tspan {
    fill: #ffffff !important;
}

.site-header.transparent .main-nav:not(.open) a {
    color: #ffffff !important;
}

.site-header.transparent .btn-header {
    background: #ffffff;
    color: var(--color-primary) !important;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .logo text {
    fill: var(--color-secondary) !important;
}

.site-header.scrolled .logo tspan {
    fill: var(--color-primary) !important;
}

.site-header.scrolled .main-nav a {
    color: var(--color-secondary) !important;
}

.site-header.scrolled .btn-header {
    background: var(--color-primary);
    color: #fff !important;
}


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

.logo a {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    font-size: 14px;
}

.header-cta .btn {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2000;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background: var(--color-secondary);
    border-radius: 10px;
    transition: all 0.3s linear;
}

.transparent .burger-menu span {
    background: white;
}

.scrolled .burger-menu span {
    background: var(--color-secondary);
}

.burger-menu.open span {
    display: none;
}

.mobile-close-btn {
    display: none;
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--color-secondary);
    cursor: pointer;
    z-index: 10;
}

@media (max-width: 768px) {
    .mobile-close-btn {
        display: block;
    }
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0 !important;
    }
}


/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f7f2 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto 40px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
}

/* Banner & Parallax */
.parallax-hero {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.page-banner {
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 26, 51, 0.6);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}


/* Content Sections */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    padding-bottom: 20px;
}

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

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background: var(--color-secondary);
    color: #cccccc;
    padding: 80px 0 40px;
    font-size: 14px;
}

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

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 16px;
}

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

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

.footer-col ul li a {
    color: #cccccc;
}

.footer-disclaimer {
    border-top: 1px solid #333333;
    padding-top: 40px;
    text-align: center;
}

.footer-legal {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Floating Elements */
.floating-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-primary);
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-size: 24px;
}

/* Search Bar Enhancements */
.search-box-wrapper button:hover {
    background: #444 !important;
}

.search-container input:focus {
    background: #fcfcfc;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--color-text-light);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Hero Title Specific Animation */
@keyframes fadeInUpBanner {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title-animate {
    opacity: 0;
    animation: fadeInUpBanner 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

/* Parallax adjustment */
.parallax-hero {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

/* Ensure content starts under fixed header on non-hero pages */
body:not(.home) main {
    padding-top: 0px;
}

/* Mobile CTA Group */
.mobile-cta-group {
    display: flex;
    gap: 20px;
}

.btn-cta-home {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary-home {
    background: var(--color-primary);
    color: #fff !important;
}

.btn-primary:hover, .btn-secondary-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-new h1 {
        font-size: 52px !important;
    }

    .page-banner h1 {
        font-size: 48px !important;
    }
}

@media (max-width: 768px) {

    /* Header & Mobile Menu */
    .burger-menu {
        display: flex;
        margin-left: 20px;
    }

    .header-cta {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1500;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
        padding: 100px 40px;
        display: block !important;
        visibility: hidden;
    }

    .main-nav.open {
        right: 0;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0 !important;
        display: flex !important;
    }

    .main-nav a {
        font-size: 14px !important;
        color: var(--color-secondary) !important;
        padding: 22px 0;
        border-bottom: 1px solid #eee;
        display: block;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center !important;
        gap: 20px;
        width: 100%;
    }

    .quick-search-home {
        width: 100% !important;
        max-width: 480px;
        padding: 5px 5px 5px 20px !important;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .quick-search-home input {
        width: 100% !important;
        min-width: 0;
        flex: 1;
        font-size: 14px !important;
    }

    .quick-search-home button {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }

    .mobile-cta-group {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
        width: 100%;
    }

    .btn-cta-home {
        padding: 14px 25px !important;
        font-size: 15px !important;
        border-radius: 12px !important; /* Less 'bumpy' more modern */
    }

    /* Typography */
    h1 {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .hero-new h1 {
        font-size: 34px !important;
    }

    .hero-new p {
        font-size: 16px !important;
        margin-bottom: 30px !important;
    }

    /* Layout */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .section {
        padding: 50px 0;
    }

    /* Hero/Banner padding */
    .hero-new {
        padding: 120px 0 60px !important;
        min-height: auto !important;
    }

    .page-banner {
        padding: 100px 0 50px !important;
    }

    .page-banner h1 {
        font-size: 34px !important;
    }

    /* Sidebar Overlap Fix */
    .section[style*="margin-top: -60px"],
    .section[style*="margin-top: -80px"] {
        margin-top: 0 !important;
    }

    /* Header & Burger Visibility */
    .site-header.transparent .burger-menu span {
        background: #333 !important; /* Ensure burger is visible always on mobile menu */
    }
    
    .site-header.transparent .logo text {
        fill: #002d62 !important; /* Dark logo on mobile even if header is "transparent" */
    }

    /* Content Columns & Aggressive Stacking */
    main section div[style*="grid-template-columns"],
    main section div[style*="display: grid"],
    #guidesGrid, 
    .grid,
    .step-guide > div,
    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns: 8fr 4fr"],
    [style*="grid-template-columns: 7fr 5fr"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Spacing & Padding Overrides */
    [style*="padding: 100px"],
    [style*="padding: 120px"] {
        padding: 60px 0 !important;
    }

    [style*="padding: 60px"],
    [style*="padding: 50px"],
    [style*="padding: 45px"],
    [style*="padding: 42px"],
    [style*="padding: 40px"] {
        padding: 25px 20px !important;
    }
    
    [style*="margin-top: 60px"] {
        margin-top: 30px !important;
    }

    .sidebar {
        position: relative !important;
        top: 0 !important;
        margin-top: 30px !important;
        width: 100% !important;
    }

    /* Appointment form & Wrapper */
    .appointment-wrapper {
        height: 620px !important;
        border-radius: 20px !important;
        margin-bottom: 30px !important;
    }

    #appointmentIframe {
        height: 620px !important;
        min-height: 620px !important;
    }

    /* Hub & Search Section */
    .search-container {
        margin-top: 0 !important;
        margin-bottom: 40px !important;
    }
    
    .search-box-wrapper {
        flex-direction: column !important;
        border-radius: 20px !important;
        padding: 10px !important;
        gap: 10px !important;
    }
    
    .search-box-wrapper input {
        width: 100% !important;
        padding: 12px !important;
        font-size: 16px !important;
        text-align: center !important;
    }

    .search-box-wrapper button {
        width: 100% !important;
        padding: 15px !important;
    }

    /* Page Banner / Hero */
    .page-banner {
        padding: 120px 0 60px !important;
        text-align: center !important;
    }

    .page-banner h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    .page-banner p {
        font-size: 16px !important;
        margin: 0 auto !important;
    }
    
    .breadcrumb {
        justify-content: center !important;
        flex-wrap: wrap !important;
        margin-bottom: 20px !important;
    }

    /* Layout Elements */
    .appliance-card, .guide-hub-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Footer Responsive */
    .site-footer .container[style*="grid-template-columns"],
    .site-footer .container {
        grid-template-columns: 1fr !important;
        display: block !important;
        text-align: center !important;
    }

    .site-footer .container > div {
        margin-bottom: 30px !important;
    }
    
    .site-footer .logo {
        display: flex;
        justify-content: center;
    }
    
    /* Most Searched Grid Stacking */
    [style*="grid-template-columns: 80px 1fr 120px 100px 30px"] {
        grid-template-columns: 60px 1fr 30px !important;
        display: grid !important;
        padding: 15px !important;
        gap: 10px !important;
    }
    
    [style*="grid-template-columns: 80px 1fr 120px 100px 30px"] span:nth-child(3),
    [style*="grid-template-columns: 80px 1fr 120px 100px 30px"] span:nth-child(4) {
        display: none !important; /* Hide secondary info on tiny mobile lists */
    }

    /* Table Responsiveness */
    table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    #errorCodesTable th, #errorCodesTable td {
        min-width: 120px;
    }
    
    #errorCodesTable th:first-child, #errorCodesTable td:first-child {
        min-width: 80px;
    }
    
    /* Hub Filter Controls */
    [style*="display: flex; gap: 15px;"] {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    [style*="display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px;"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    /* Footer Bottom Correction */
    .footer-bottom-links {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    /* Column Hiding */
    .hide-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 26px !important; }
    h2 { font-size: 24px !important; }
    
    .hero-new h1 { font-size: 28px !important; }
    
    .section-title h2 { font-size: 26px !important; }
    
    .appointment-wrapper {
        height: 700px !important;
    }
    
    #appointmentIframe {
        height: 700px !important;
    }

    .logo svg {
        width: 180px !important;
    }
    
    /* Stronger burger visibility on mobile */
    .burger-menu span {
        background: #333 !important;
    }
    
    .transparent .burger-menu span {
        background: #fff !important;
    }
    
    .scrolled .burger-menu span {
        background: #333 !important;
    }
}

/* Custom css*/
.speciallist a.btn-detail{
    color: #950606;
}
.speciallist .c-p-10{
    padding-bottom: 10px;
}
.p-text-10{
    padding: 5px 0;
    font-size: 16px; line-height: 1.8; color: #555;
}