/* ROOT VARIABLES */
:root {
    --primary-color: #D3927D; /* Soft warm terracotta */
    --primary-dark: #B57763;
    --secondary-color: #E8D9C8; /* Soft beige/sand */
    --text-dark: #2F3B40; /* Deep sage gray */
    --text-light: #5A6A70;
    --bg-main: #FAF7F2; /* Cream white */
    --bg-white: #FFFFFF;
    --font-heading: 'Lora', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    line-height: 1.2;
}

p {
    margin-bottom: 16px;
    font-size: 1.125rem;
    color: var(--text-light);
}

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

.badge {
    display: inline-block;
    background: rgba(211, 146, 125, 0.15);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

/* CONTAINERS */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* BUTTONS */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 146, 125, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

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

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

.btn-large {
    padding: 18px 48px;
    font-size: 1.125rem;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

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

.logo {
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a:not(.btn-primary) {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* HERO */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #FFFFFF, var(--bg-main));
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.hero-image {
    position: relative;
    border-radius: 20px 20px 100px 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.06);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 1.5s ease;
}

.hero-image:hover img {
    transform: scale(1.0);
}

/* ABOUT SECTION */
.about {
    padding: 120px 0;
    background-color: var(--bg-white);
}

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

.rounded-img {
    border-radius: 120px 20px 20px 20px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.about-features {
    list-style: none;
    margin-top: 32px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 24px;
}

/* SERVICES */
.services {
    padding: 120px 0;
    background-color: var(--bg-main);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
}

.card-img-container {
    height: 260px;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.card-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.card-content p {
    flex-grow: 1;
    font-size: 1rem;
    margin-bottom: 32px;
}

.card-content .btn-outline {
    align-self: flex-start;
}

/* TESTIMONIALS */
.testimonials {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--bg-main);
    padding: 50px 40px;
    border-radius: 20px 100px 20px 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.quote-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.client-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* CTA SECTION */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F0E6D8 0%, var(--secondary-color) 100%);
    text-align: center;
}

.cta-container {
    max-width: 800px;
}

.cta-section h2 {
    color: var(--text-dark);
}

.cta-section p {
    color: var(--text-dark);
    margin-bottom: 40px;
}

/* FOOTER */
.footer {
    background: #1C2326;
    color: var(--bg-white);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer .logo, .footer h4 {
    color: var(--bg-white);
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 16px;
    transition: var(--transition);
}

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

.footer-contact h4, .footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.footer-contact p {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fade-right { transform: translateX(30px); }
.fade-left { transform: translateX(-30px); }
.fade-up { transform: translateY(50px); }

.reveal.fade-right.active, .reveal.fade-left.active, .reveal.fade-up.active {
    transform: translate(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container, .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero { padding-top: 140px; text-align: center; }
    .hero-buttons { justify-content: center; }
    
    .hero-image { order: -1; }
    .about-image { order: -1; }
    
    .footer-container { grid-template-columns: 1fr 1fr; }
    
    h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 84px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 40px 0;
        gap: 24px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        clip-path: circle(0% at top right);
        transition: all 0.6s ease-in-out;
    }
    
    .nav-links.active {
        clip-path: circle(150% at top right);
    }
    
    .mobile-menu-btn { display: block; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    
    .hero-buttons { flex-direction: column; }
    .btn-large { width: 100%; }
}
