/* =========================================
   Pro Self Level - Premium CSS
   ========================================= */

:root {
    --primary: #d97706;
    /* Burnt Orange / Gold Accent */
    --primary-dark: #b45309;
    --secondary: #1e293b;
    /* Slate 800 */
    --dark: #0f172a;
    /* Slate 900 */
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --border: #e2e8f0;

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

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--secondary);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--dark);
    color: var(--white);
}

.text-white {
    color: var(--white);
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4 {
    color: var(--white);
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #d97706;
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

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

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #b45309;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo img {
    height: 48px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-weight: 500;
    color: #ffffff;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

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

.mobile-only {
    display: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #ffffff;
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-image: url('1.jpg');
    /* Or Laminate-flooring-installation.jpg */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.hero .subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.hero .title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.hero .description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--light);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Section Tags */
.section-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--primary-dark);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-tag-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--secondary);
}

.feature-list svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.bold-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--dark) !important;
}

.about-images {
    position: relative;
}

.img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.img-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* Why Level Grid */
.why-level {
    padding: 6rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.why-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.why-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}

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

.section-header p {
    color: var(--gray);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    top: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(217, 119, 6, 0.3);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

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

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Process Section */
.process {
    padding: 6rem 0;
}

.process .section-header p {
    color: var(--gray-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: 50%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.5);
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

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

/* Choose Us */
.choose-us {
    padding: 6rem 0;
}

.choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.choose-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.accordion {
    margin-top: 2rem;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
}

.accordion-header h3 {
    font-size: 1.125rem;
    margin: 0;
    transition: color 0.3s;
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header h3 {
    color: var(--primary);
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--gray);
}

.choose-alert {
    padding: 3rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary);
}

.choose-alert h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-list li {
    margin-bottom: 1rem;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.alert-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

/* CTA / Contact Section */
.cta {
    position: relative;
    padding: 6rem 0;
    background-image: url('Hardwood-Flooring-Installation.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--light);
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-card svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
    color: var(--light);
    font-size: 1.1rem;
}

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

/* Footer */
.footer {
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--gray-light);
    max-width: 400px;
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

.footer ul a {
    color: var(--gray-light);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-light);
}

/* Animations & Scroll Reveal */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.slide-up,
.slide-up-delay,
.slide-up-delay-2,
.slide-up-delay-3 {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.slide-up {
    transform: translateY(30px);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

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

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

/* Mobile Menu & Responsiveness */
@media (max-width: 991px) {

    .about-grid,
    .why-grid,
    .choose-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .why-image {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline-flex;
        margin-top: 1.5rem;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background-color: #000000;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: 0.3s;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

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

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.25rem;
        display: block;
        width: 100%;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero .title {
        font-size: 2.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2,
    .about-text h2,
    .why-text h2,
    .choose-text h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2.25rem;
    }
}