/*
Theme Name: Ultimate Interior Renovations
Theme URI: https://ultimateinteriorrenovations.com
Author: Haseeb
Author URI: https://www.facebook.com/legendhaseebgaming
Description: A premium, WordPress theme built exclusively for Ultimate Interior Renovations LLC. Engineered for high performance, featuring dynamic before-and-after portfolio rendering, seamless mobile responsiveness, and a highly optimized architecture tailored for top-tier general contracting services across Southwest Florida.
Version: 1.1
*/
/* 
   Premium Light Theme for Ultimate Interior Renovations LLC
*/
:root {
    /* Color Palette */
    --primary: #1A365D;
    /* Deep Navy Blue */
    --primary-light: #2A4365;
    /* Lighter Navy */
    --accent: #E53E3E;
    /* Vibrant Red/Orange for strong CTA */
    --accent-hover: #C53030;
    --secondary: #2D3748;
    /* Dark Gray */
    --light-bg: #F7FAFC;
    /* Very Light Gray */
    --white: #FFFFFF;
    --border: #E2E8F0;
    --text-main: #4A5568;
    --text-heading: #1A202C;

    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --container-max: 1200px;
    --section-pad: 5rem 0;
    --radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: var(--section-pad);
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3.5rem 0;
    }
}

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

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

/* Typography Utilities */
.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent);
    margin: 1rem auto 2rem;
}

.divider.align-left {
    margin-left: 0;
}

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

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

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

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

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

.btn-white:hover {
    background-color: #f1f1f1;
    color: var(--primary);
}

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

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

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

.w-100 {
    width: 100%;
}

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

.mt-3 {
    margin-top: 1rem;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary);
    color: #CBD5E0;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    display: none;
}

@media (min-width: 992px) {
    .top-bar {
        display: block;
    }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 1.5rem;
}

.top-bar-left i,
.top-bar-right i {
    color: var(--accent);
    margin-right: 0.25rem;
}

.top-bar-right a {
    color: #CBD5E0;
}

.top-bar-right a:hover {
    color: var(--white);
}

/* Header Navigation */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.site-header.scrolled .header-inner {
    height: 70px;
}

.logo a {
    display: flex;
    flex-direction: row;
    align-items: center;
}

@media (max-width: 576px) {
    .logo a {
        gap: 0.5rem !important;
    }

    .logo a>div:first-child {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }

    .logo a span {
        font-size: 0.9rem !important;
        letter-spacing: 0 !important;
    }

    .logo a span span {
        font-size: 0.65rem !important;
    }
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
    max-width: 200px;
    text-transform: uppercase;
}

.logo-subtext {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-top: 2px;
}

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

.main-nav a {
    color: var(--text-heading);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

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

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

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
}

.phone-link i {
    font-size: 1.5rem;
    color: var(--accent);
}

.phone-text {
    display: flex;
    flex-direction: column;
}

.phone-text .call-now {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
}

.phone-text .number {
    font-weight: 700;
    font-size: 1.125rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .header-cta .phone-link {
        display: none;
    }

    .header-cta .btn {
        display: none;
    }

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

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

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

.mobile-nav-content {
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.mobile-nav-content ul {
    margin-bottom: 2rem;
}

.mobile-nav-content li {
    margin-bottom: 1.5rem;
}

.mobile-nav-content a.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 90px);
    min-height: 600px;
    max-height: 800px;
    display: flex;
    align-items: center;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.4) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
}

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

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #E2E8F0;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.stat-item i {
    color: var(--accent);
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        max-height: none;
        height: auto;
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}

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

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(26, 54, 93, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
}

.service-cta {
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-cta h3 {
    color: var(--white);
}

/* Why Us Section */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background-color: var(--accent);
    color: var(--white);
    padding: 2rem;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 5px solid var(--white);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-list {
    margin-top: 2.5rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-list .icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background-color: rgba(229, 62, 62, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-list h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

@media (max-width: 992px) {
    .why-us-content {
        grid-template-columns: 1fr;
    }

    .why-us-image {
        margin-bottom: 2rem;
    }
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Before After Slider */
.ba-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    --value: 50%;
}

.ba-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-image-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, var(--value) 0, var(--value) 100%, 0 100%);
}

.ba-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.ba-slider-button {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--value);
    width: 4px;
    background: var(--white);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-slider-button::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.ba-slider-button i {
    position: relative;
    z-index: 1;
    color: var(--primary);
    font-size: 1.2rem;
}

.portfolio-info {
    background-color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.portfolio-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.portfolio-info span {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

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

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
    }
}

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

@media (max-width: 992px) {
    .about-premium-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .about-premium-layout {
        gap: 1.5rem;
    }

    .about-premium-layout img {
        width: 100% !important;
        height: auto !important;
    }
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item i {
    background-color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.detail-item div {
    display: flex;
    flex-direction: column;
}

.detail-item strong {
    color: var(--text-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact-form-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-heading);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.btn-block {
    width: 100%;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.5rem 1rem;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem;
    }

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

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

    .cta-buttons .btn {
        width: 100%;
    }

    .page-header {
        padding: 3rem 0 !important;
    }

    .page-header h1 {
        font-size: 2rem !important;
    }

    .page-header p {
        font-size: 1rem !important;
    }

    .premium-badge {
        left: 0 !important;
        bottom: 1rem !important;
    }

    .experience-badge {
        width: 110px;
        height: 110px;
        padding: 1rem;
    }

    .experience-badge .years {
        font-size: 1.8rem;
    }
}

/* Footer */
.site-footer {
    background-color: var(--secondary);
    color: #A0AEC0;
    padding: 5rem 0 2rem;
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 1.5rem;
}

.brand-col p {
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

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

.footer-socials a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

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

.footer-col ul a {
    color: #A0AEC0;
    transition: var(--transition);
}

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

.footer-contact li {
    display: block;
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem !important;
}

.footer-contact i {
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 20px;
    text-align: center;
}

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

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Mobile Call Bar */
.mobile-call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent);
    z-index: 1000;
    text-align: center;
}

.mobile-call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--white);
    padding: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.d-md-none {
    display: none;
}

@media (max-width: 768px) {
    .d-md-none {
        display: block;
    }

    body {
        padding-bottom: 60px;
    }

    /* Space for call bar */
}