/*
Theme Name: Carpenter Premium
Theme URI: #
Author: Antigravity
Author URI: #
Description: Premium woodwork and carpentry theme
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: carpenter
Tags: dark, premium, carpentry, construction
*/
/* 
=========================================================
    CARPENTERZ - PIXEL PERFECT PREMIUM AESTHETIC CSS
=========================================================
*/

:root {
    --primary: #B7552B; /* Rust / Dark Orange */
    --primary-hover: #9c4521;
    --dark: #1a1c20;
    --dark-grey: #2a2c30;
    --text-grey: #666666;
    --light-grey: #f4f4f4;
    --bg-main: #ffffff;
    --bg-tint1: #FDF7F5; /* Very light pinkish off-white */
    --bg-tint2: #F5EFE9;
    --bg-tint3: #FAF0EC;
    
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.relative-container {
    position: relative;
}

/* ================== TYPOGRAPHY & UTILS ================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}

.section-title {
    font-size: 56px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.subtitle-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.subtitle-wrap.justify-center {
    justify-content: center;
}

.subtitle-wrap .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    display: inline-block;
}

.subtitle-wrap .subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 2px;
}

.subtitle-wrap.white .dot {
    background-color: #fff;
}

.subtitle-wrap.white .subtitle {
    color: #fff;
}

.text-center { text-align: center; }
.text-white { color: #fff !important; }
.mt-4 { margin-top: 40px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn i {
    margin-left: 10px;
}

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

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

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

.btn-outline:hover {
    background-color: var(--dark);
    color: #fff;
}

.btn-secondary {
    background-color: var(--dark);
    color: #fff;
}

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

/* ================== HEADER ================== */
.main-header {
    background-color: var(--dark);
    height: 90px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

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

.logo img {
    max-height: 35px;
}

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

.main-nav a {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.icon-btn:hover {
    color: var(--primary);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 20px;
    margin-left: 10px;
}

.header-contact .contact-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.header-contact .contact-text {
    display: flex;
    flex-direction: column;
}

.header-contact .label {
    color: #999;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-contact .phone {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

/* ================== HERO SECTION ================== */
.hero-section {
    position: relative;
    height: 800px;
    background-color: var(--bg-tint1);
    display: flex;
    overflow: hidden;
}

.hero-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero-content {
    flex: 0 0 50%;
    padding: 150px 80px 0 0;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 85px;
    line-height: 0.95;
    margin-bottom: 30px;
    color: var(--dark);
}

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

.hero-desc {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 480px;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes imageClipReveal {
    from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
    to { clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes pulseShadow {
    0% { box-shadow: 0 0 0 0 rgba(183, 85, 43, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(183, 85, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(183, 85, 43, 0); }
}

.fade-up-1 { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.fade-up-2 { animation: fadeUp 0.8s ease 0.2s forwards; opacity: 0; }
.fade-up-3 { animation: fadeUp 0.8s ease 0.4s forwards; opacity: 0; }
.fade-up-4 { animation: fadeUp 0.8s ease 0.6s forwards; opacity: 0; }
.fade-in-right { animation: fadeInRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards; opacity: 0; }
.fade-in-right img { animation: imageClipReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.fade-in-left { animation: fadeInLeft 1s ease forwards; opacity: 0; }
.bounce-anim { animation: floatBounce 4s ease-in-out infinite; }
.pulse-btn { animation: pulseShadow 2s infinite; }

/* Hero Actions & Trust */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.trust-stars {
    color: #ffb400;
    font-size: 14px;
    margin-bottom: 5px;
    letter-spacing: 2px;
}
.trust-text {
    font-size: 14px;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.trust-text strong {
    color: var(--dark);
    font-size: 24px;
    font-family: var(--font-heading);
    font-weight: 400; /* Prevent native strong bolding on Bebas */
    margin-right: 5px;
}

/* Background Pattern */
.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: 1;
}

.hero-image-wrap {
    flex: 0 0 50%;
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

/* The magic exact diagonal cut using clip-path */
.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

/* Floating Badge */
.hero-floating-badge {
    position: absolute;
    bottom: 100px;
    left: -80px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 10;
    border-left: 5px solid var(--primary);
}
.badge-icon {
    width: 50px; height: 50px;
    background: var(--bg-tint1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.badge-content h4 { font-size: 18px; margin: 0; font-family: var(--font-body); font-weight: 700; text-transform: none; }
.badge-content p { margin: 0; font-size: 13px; color: var(--text-grey); }

.diagonal-bg {
    display: none;
}

/* ================== ABOUT SECTION ================== */
.about-section {
    padding: 120px 0;
    background-color: #fff;
}

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

/* Creative About Images */
.creative-image-group {
    position: relative;
    padding-right: 40px;
    padding-bottom: 80px;
    margin-right: 10px;
    height: 650px; /* Makes the whole left side taller */
}

.image-main {
    width: 90%;
    height: 580px; /* Force portrait/tall look */
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.image-secondary {
    position: absolute;
    bottom: 0;
    right: -20px;
    width: 65%;
    height: 380px;
    object-fit: cover;
    border: 15px solid #fff;
    border-radius: 20px;
    z-index: 3;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.experience-circle {
    position: absolute;
    top: 40px;
    right: -30px;
    width: 150px;
    height: 150px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    border: 8px solid #fff;
}

.circle-content .number {
    font-family: var(--font-heading);
    font-size: 50px;
    line-height: 1;
    display: block;
}

.circle-content .text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dot-pattern-bg {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 250px;
    height: 250px;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 25px 25px;
    opacity: 0.15;
    z-index: 1;
}

.about-content-col .section-desc {
    margin-bottom: 30px;
    font-size: 17px;
}

.check-list li {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.check-list li .check-icon {
    color: #fff;
    background-color: var(--primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-right: 15px;
}

.about-divider {
    border: 0;
    border-top: 1px solid #eaeaea;
    margin: 30px 0;
}

.about-footer {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ceo-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ceo-profile .ceo-logo {
    width: auto;
    height: 45px;
    border-radius: 0;
}

.ceo-info h4 {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 700;
}

.ceo-info span {
    font-size: 12px;
    color: var(--text-grey);
}

/* Button pill */
.pill-btn {
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 700;
    font-size: 13px;
    color: var(--dark);
    border: 2px solid var(--dark);
    background: transparent;
}
.pill-btn:hover {
    background: var(--dark);
    color: #fff;
}

/* ================== CREATIVE SERVICES GRID ================== */
.services-creative-grid {
    padding: 120px 0;
    background-color: var(--bg-tint1);
}

.creative-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.creative-card {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.creative-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(183, 85, 43, 0.25);
}

.creative-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.creative-card:hover .creative-card-bg {
    transform: scale(1.1);
}

.creative-card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.95) 100%);
    transition: background 0.4s ease;
}

.creative-card:hover .creative-card-overlay {
    background: linear-gradient(180deg, rgba(183, 85, 43, 0.3) 0%, rgba(183, 85, 43, 0.8) 50%, rgba(10, 10, 10, 0.95) 100%);
}

.creative-card-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    z-index: 2;
    text-align: center;
    transform: translateY(40px);
    transition: transform 0.4s ease;
}

.creative-card:hover .creative-card-content {
    transform: translateY(0);
}

.icon-circle {
    width: 70px; height: 70px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    color: #fff; font-size: 30px;
    margin-bottom: 20px;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.creative-card:hover .icon-circle {
    transform: scale(1.1) rotate(10deg);
    background-color: #fff;
    color: var(--primary);
    border-color: var(--primary);
}

.creative-card-content h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.creative-card-content p {
    color: #ddd;
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
}

.creative-card:hover .creative-card-content p {
    opacity: 1;
}

.explore-btn {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.4s ease 0.2s, color 0.3s ease;
}

.creative-card:hover .explore-btn {
    opacity: 1;
}

.explore-btn:hover {
    color: #f1f1f1;
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .creative-grid-container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 768px) {
    .creative-grid-container { grid-template-columns: 1fr; }
}

/* ================== HOW IT WORKS ================== */
.my-hiw-section {
    padding: 120px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.my-hiw-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.my-hiw-left .section-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--dark);
}

.my-hiw-image-wrap {
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
}

.my-hiw-main-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.my-hiw-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary);
    color: #fff;
    padding: 25px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 30px rgba(183, 85, 43, 0.3);
}

.my-exp-number {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
}

.my-exp-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Steps Right Side */
.my-hiw-steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.my-hiw-step {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.my-hiw-number {
    flex: 0 0 60px;
    width: 60px;
    height: 110px;
    border: 2px solid #f0e6e0;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.my-hiw-rot {
    display: inline-block;
    transform: rotate(-90deg);
    white-space: nowrap;
}

.my-hiw-number .my-hiw-rot {
    font-weight: 600;
    font-size: 20px;
    color: var(--dark);
    letter-spacing: 4px;
}

/* Connecting Line */
.my-hiw-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 30px;
    width: 2px;
    height: calc(100% + 20px);
    background-color: #f0e6e0;
    z-index: 0;
}

.my-hiw-card {
    flex: 1;
    min-width: 0;
    background-color: #FAF4F0;
    border-radius: 15px;
    padding: 30px 30px 30px 65px;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.my-hiw-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    background-color: #fff;
    border: 1px solid #f0e6e0;
}

.my-hiw-badge {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border-radius: 30px;
    width: 32px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: background-color 0.3s ease;
}

.my-hiw-card:hover .my-hiw-badge {
    background-color: var(--primary);
    color: #fff;
}

.my-hiw-badge .my-hiw-rot {
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 4px;
    color: inherit;
    transition: color 0.3s ease;
}

.my-hiw-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    letter-spacing: 1px;
}

.my-hiw-content p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .my-hiw-grid {
        grid-template-columns: 1fr;
    }
    .my-hiw-experience-badge {
        bottom: 20px;
        right: 20px;
    }
}
@media (max-width: 576px) {
    .my-hiw-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .my-hiw-step:not(:last-child)::after {
        left: 30px;
        top: 0;
        height: calc(100% + 15px);
    }
    .my-hiw-card {
        padding: 20px 20px 20px 50px;
        margin-left: 15px;
        width: calc(100% - 15px);
    }
}

/* ================== WHY CHOOSE US ================== */
.wcu-section {
    padding: 120px 0;
    background-color: #fff;
}

.wcu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.wcu-image-wrap {
    margin-top: 30px;
    border-radius: 20px;
    overflow: hidden;
}

.wcu-image-wrap img {
    width: 100%;
    display: block;
}

.wcu-features-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.feature-bar {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.feature-bar:hover {
    border-bottom-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-tint1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 25px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
    letter-spacing: 0;
    text-transform: none;
}

.feature-text p {
    font-size: 15px;
    margin: 0;
}

/* ================== PROMO / MASONRY ================== */
.promo-section {
    padding: 80px 0 20px;
}

.promo-alert {
    color: var(--primary);
    font-size: 30px; /* Slightly larger to compensate for removed fake bold */
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.portfolio-section {
    padding-top: 100px;
    padding-bottom: 120px;
    /* Beautiful Dark Parallax Background */
    background: linear-gradient(rgba(15, 12, 10, 0.92), rgba(15, 12, 10, 0.95)), url('./images/bg_services.png') center/cover fixed;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.portfolio-section .section-title {
    color: #fff;
}

.portfolio-section .subtitle-wrap .subtitle {
    color: #ccc;
    letter-spacing: 2px;
}

.portfolio-accordion {
    display: flex;
    width: 100%;
    height: 600px;
    gap: 20px;
    margin-top: 50px;
}

.port-panel {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    flex: 1;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Hover or Active state */
.port-panel:hover {
    flex: 5;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.port-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(10,10,12,0.9) 0%, rgba(10,10,12,0.1) 60%, rgba(10,10,12,0) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.port-panel:hover .port-overlay {
    opacity: 1;
}

.port-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    align-items: flex-end;
    gap: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none; /* so cursor behaves */
}

.port-panel:hover .port-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.port-icon {
    width: 60px; height: 60px;
    min-width: 60px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(183, 85, 43, 0.4);
}

.port-text {
    flex: 1;
}

.port-cat {
    display: block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.port-title {
    color: #fff;
    font-size: 36px;
    margin-bottom: 10px;
    white-space: nowrap; /* Prevents wrapping during animation */
}

.port-desc {
    color: #ddd;
    font-size: 15px;
    margin: 0;
    max-width: 500px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .portfolio-accordion {
        flex-direction: column;
        height: 800px;
    }
    .port-panel:hover {
        flex: 3;
    }
    .port-content {
        left: 20px; right: 20px; bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .port-title {
        font-size: 24px;
        white-space: normal;
    }
}

/* ================== STATS SPLIT LAYOUT ================== */
.stats-section {
    position: relative;
    padding-bottom: 80px;
}

.stats-container {
    display: flex;
    position: relative;
}

.stats-image-wrap {
    flex: 0 0 45%;
    border-radius: 0 40px 40px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-right: -5%; /* Overlap over the rust background */
    box-shadow: 20px 0 50px rgba(0,0,0,0.1);
}

.stats-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
}

.stats-content-wrap {
    flex: 1;
    background-color: var(--primary);
    padding: 100px 80px 100px 10%;
    border-radius: 40px;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-box i {
    font-size: 40px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.stat-box h3 {
    color: #fff;
    font-size: 50px;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ================== TESTIMONIALS ================== */
.testimonials-section {
    padding: 120px 0 180px;
    background-color: var(--bg-tint3);
    overflow: hidden; /* Hide overflow for slider */
}

.testi-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testi-carousel-track {
    display: flex;
    width: 200%; /* 2 slides */
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
}

.testi-carousel-slide {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 5px;
}

.testi-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.testi-arrow:hover {
    background-color: var(--primary);
    color: #fff;
}

.left-arrow {
    left: -20px;
}

.right-arrow {
    right: -20px;
}

.testi-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

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

.testi-text {
    font-size: 18px;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 30px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
}

.testi-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-info h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.author-info span {
    font-size: 13px;
    color: var(--primary);
}

/* ================== INSTA FEED ================== */
.insta-feed-section {
    padding: 100px 0 0;
}

.insta-grid {
    display: flex;
    width: 100%;
}

.insta-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 350px;
    display: block;
}

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

.insta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(183, 85, 43, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* ================== CONTACT & FOOTER ================== */
/* ================== CREATIVE QUOTE SECTION ================== */
.creative-quote-section {
    padding: 150px 0;
    background: #fff;
    background-image: radial-gradient(#f0f0f0 1.5px, transparent 1.5px);
    background-size: 30px 30px; /* Creative dotted premium background */
    overflow: hidden;
    position: relative;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

.quote-image-wrapper {
    position: relative;
    padding-right: 20px;
    z-index: 1;
}

.quote-main-img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.quote-floating-box {
    position: absolute;
    bottom: 50px;
    left: -40px; /* Hangs off the edge */
    background: var(--primary);
    color: #fff;
    padding: 30px 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(183, 85, 43, 0.3);
}

.quote-floating-box i {
    font-size: 50px;
}

.quote-floating-box h4 {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    color: #fff;
}

.quote-form-wrapper {
    background: #fff;
    padding: 70px 60px;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
    margin-left: -100px; /* The massive creative overlap! */
    border: 1px solid rgba(0,0,0,0.03);
}

/* Beautiful Minimalist Inputs */
.q-input-row {
    display: flex;
    gap: 30px;
}

.q-input-group {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
}

.q-input-group input,
.q-input-group select,
.q-input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #eaeaea;
    padding: 10px 0;
    font-size: 16px;
    color: var(--dark);
    font-family: var(--font-body);
    transition: all 0.3s ease;
    border-radius: 0;
}

.q-input-group input:focus,
.q-input-group select:focus,
.q-input-group textarea:focus {
    outline: none;
    border-bottom-color: transparent; /* Color is handled by the line */
}

.q-input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    pointer-events: none;
    transition: all 0.3s ease;
}

.q-input-group input:focus ~ label,
.q-input-group input:valid ~ label,
.q-input-group textarea:focus ~ label,
.q-input-group textarea:valid ~ label {
    top: -20px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
}

.q-input-group select {
    color: #aaa;
}
.q-input-group select:focus, .q-input-group select:valid {
    color: var(--dark);
}

.q-input-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.4s ease;
}

.q-input-group input:focus ~ .line,
.q-input-group select:focus ~ .line,
.q-input-group textarea:focus ~ .line {
    width: 100%;
}

.quote-submit-btn {
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: 12px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    margin-top: 10px;
}

/* ================== FOOTER ================== */
.main-footer {
    background-color: #2B190F; 
    background-image: url("./images/footer-bg3.png"); 
    padding-top: 100px;
    padding-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    max-height: 40px;
    margin-bottom: 25px;
}

.footer-desc {
    color: #999;
    margin-bottom: 30px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
}

.social-icons a:hover {
    background-color: var(--primary);
}

.footer-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 30px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #bbb;
}

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

.footer-info li {
    color: #bbb;
    margin-bottom: 15px;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-masonry { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 60px; }
}

@media (max-width: 768px) {
    .hero-section { flex-direction: column; height: auto; padding-top: 100px; }
    .hero-content, .hero-image-wrap { flex: 0 0 100%; width: 100%; position: relative; }
    .hero-image-wrap img { clip-path: none; height: 400px; }
    .about-grid, .wcu-grid { grid-template-columns: 1fr; }
    .stats-container { flex-direction: column; }
    .stats-image-wrap { border-radius: 40px 40px 0 0; margin-right: 0; }
    .stats-content-wrap { border-radius: 0 0 40px 40px; }
    
    .creative-quote-section { padding: 80px 0; }
    .quote-grid { grid-template-columns: 1fr; }
    .quote-main-img { height: 500px; }
    .quote-floating-box { left: 20px; bottom: -20px; padding: 20px 30px; }
    .quote-floating-box i { font-size: 30px; }
    .quote-floating-box h4 { font-size: 16px; }
    .quote-form-wrapper { margin-left: 0; margin-top: 50px; padding: 40px 30px; }
    .q-input-row { flex-direction: column; gap: 0; }
    .testi-carousel-slide { grid-template-columns: 1fr; }
    .testi-carousel-track { width: 200%; }
    .main-footer { padding-top: 50px; margin-top: 0; }
}

/* Mobile Menu Toggle Button (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .header-container { position: relative; padding: 15px 0; justify-content: space-between; }
    .mobile-menu-toggle { display: block; }
    .header-actions { display: none; } /* Hide 'Book Now' on mobile to save space */
    .logo-text { font-size: 28px !important; }
    
    /* Mobile Dropdown */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(43, 25, 15, 0.95);
        padding: 20px 0;
        z-index: 100;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

