/* ===== VARIABLES & BASE ===== */
:root {
    --color-white: #faf9f6;
    --color-brown: #3b2a1a;
    --color-terracotta: #c1714f;
    --color-bg-light: #f4efeb;
    --color-text: #4a4a4a;
    --color-light-brown: #5c432d;
    --shadow-sm: 0 4px 6px rgba(59, 42, 26, 0.05);
    --shadow-md: 0 10px 20px rgba(59, 42, 26, 0.1);
    --shadow-lg: 0 20px 40px rgba(59, 42, 26, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-brown);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 80px 0;
}

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

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

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--color-terracotta);
    margin: 15px auto 30px;
    border-radius: 2px;
}

.divider.text-left {
    margin: 15px 0 30px 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-terracotta);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(193, 113, 79, 0.3);
}

.btn-primary:hover {
    background-color: #a95f3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 113, 79, 0.4);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-brown);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--color-terracotta);
}

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

.nav-links {
    font-weight: 500;
    color: var(--color-brown);
    position: relative;
    transition: var(--transition);
}

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

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

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

.nav-cta {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-brown);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 60px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

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

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

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

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

@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--color-brown);
    font-weight: 500;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.trust-badges i {
    color: var(--color-terracotta);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

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

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(193, 113, 79, 0.1);
    color: var(--color-terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

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

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* ===== WHY CHOOSE US ===== */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.materials-callout {
    margin-top: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--color-terracotta);
    box-shadow: var(--shadow-sm);
}

.materials-callout h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--color-brown);
}

.materials-callout i {
    color: var(--color-terracotta);
}

.materials-callout p {
    font-size: 0.95rem;
    margin: 0;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.highlight-box {
    background: var(--color-white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.highlight-box:hover {
    transform: scale(1.05);
}

.highlight-box h3 {
    color: var(--color-terracotta);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.highlight-box p {
    font-weight: 500;
    color: var(--color-brown);
}

/* ===== PORTFOLIO ===== */
.grid-3x2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

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

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

.portfolio-item .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(59, 42, 26, 0.9) 0%, rgba(59, 42, 26, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.category {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .category {
    transform: translateY(0);
}

/* ===== PROCESS ===== */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(193, 113, 79, 0.3);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border: 3px solid var(--color-terracotta);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-terracotta);
    position: relative;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--color-terracotta);
    color: var(--color-white);
    transform: scale(1.1);
}

.step-number {
    position: absolute;
    top: -10px;
    right: 50%;
    margin-right: -40px;
    background: var(--color-brown);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
}

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

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 4px solid var(--color-terracotta);
}

.stars {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--color-text);
}

.client-info h4 {
    margin-bottom: 5px;
}

.client-info span {
    font-size: 0.85rem;
    color: #888;
}

/* ===== ABOUT ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.vision-box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.vision-box i {
    font-size: 2rem;
    color: var(--color-terracotta);
    opacity: 0.5;
}

.image-wrapper {
    width: 100%;
    min-height: 500px;
    border-radius: 12px;
    position: relative;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.about-real-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: contain;
}

.cert-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.cert-badge h3 {
    color: var(--color-terracotta);
    font-size: 2.5rem;
    line-height: 1;
}

.cert-badge span {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ===== CONTACT ===== */
.contact-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: var(--color-brown);
    color: white;
    padding: 50px;
}

.contact-info h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.info-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-list i {
    font-size: 1.5rem;
    color: var(--color-terracotta);
}

.info-list strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-list span {
    color: rgba(255,255,255,0.8);
}

.contact-form-container {
    padding: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fdfcfb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(193, 113, 79, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    background: #2a1e12;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    flex-direction: column;
}

.footer-logo i {
    color: var(--color-terracotta);
    display: inline;
    margin-right: 8px;
}

.footer-logo p {
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--color-terracotta);
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

.copyright {
    text-align: center;
    font-size: 0.85rem;
}

/* ===== FLOATING WA ===== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* ===== MOBILE STICKY CTA ===== */
.mobile-sticky-footer {
    display: none;
}

@media screen and (max-width: 768px) {
    body {
        padding-bottom: 105px;
    }
    
    .mobile-sticky-footer {
        display: block;
        position: fixed;
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
        background-color: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        z-index: 1000;
        text-align: center;
    }
    
    .btn-sticky {
        display: block;
        width: 100%;
        font-size: 1.05rem;
        padding: 14px 0;
        letter-spacing: 0.5px;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(193, 113, 79, 0.4);
    }
    
    .floating-wa {
        bottom: 120px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 992px) {
    .why-us-content, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        grid-template-columns: 1fr 1fr;
        row-gap: 50px;
    }
    
    .timeline::before {
        display: none;
    }

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

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 20px;
    }

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

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

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

    .trust-badges span {
        width: 100%;
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .timeline {
        grid-template-columns: 1fr;
    }
    
    .grid-2x2 {
        grid-template-columns: 1fr;
    }
}
