/* ===================================
   SOUTHERN TAN - Brand Colors
   Terracotta: #C05A38
   Sand: #F4E4D4
   Dark: #1A1A1A
   Cream: #FFF8F5
   =================================== */

:root {
    --terracotta: #C05A38;
    --terracotta-dark: #A04828;
    --sand: #F4E4D4;
    --sand-light: #FDF5EE;
    --dark: #1A1A1A;
    --dark-light: #2D2D2D;
    --cream: #FFF8F5;
    --white: #FFFFFF;
    --gray: #6B6B6B;
    --gray-light: #9A9A9A;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

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

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sand);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(192, 90, 56, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--terracotta);
    border-radius: 50%;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--sand);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 90, 56, 0.3);
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===================================
   HERO
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: var(--cream);
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--terracotta);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--sand);
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--terracotta);
    bottom: 10%;
    right: 15%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

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

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--sand);
    color: var(--terracotta);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--terracotta);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--sand);
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 200px 200px 100px 100px;
    box-shadow: 0 30px 60px rgba(192, 90, 56, 0.2);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.card-icon {
    width: 36px;
    height: 36px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.card-1 {
    top: 20%;
    left: -40px;
}

.card-2 {
    bottom: 25%;
    right: -40px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===================================
   SERVICES
   =================================== */
.services {
    padding: 120px 0;
    position: relative;
    background: var(--white);
}

.services-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--terracotta), var(--sand), var(--terracotta));
}

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

.section-tag {
    display: inline-block;
    color: var(--terracotta);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.125rem;
}

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

.service-card {
    background: var(--cream);
    padding: 40px 32px;
    border-radius: 24px;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--terracotta);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--sand);
    box-shadow: 0 20px 40px rgba(192, 90, 56, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.link-arrow {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.link-arrow:hover {
    color: var(--terracotta-dark);
    letter-spacing: 1px;
}

/* ===================================
   ABOUT
   =================================== */
.about {
    padding: 120px 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

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

.about-visual {
    position: relative;
}

.about-image-group {
    position: relative;
}

.about-image-group img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 32px;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--terracotta);
    color: var(--white);
    padding: 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(192, 90, 56, 0.3);
}

.badge-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.badge-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 24px;
}

.about-content > p {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--sand);
    color: var(--terracotta);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.feature strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

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

.about-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.geo-shape {
    position: absolute;
    opacity: 0.1;
}

.geo-1 {
    width: 300px;
    height: 300px;
    background: var(--terracotta);
    top: 10%;
    right: -100px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.geo-2 {
    width: 150px;
    height: 150px;
    background: var(--sand);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
}

/* ===================================
   PROCESS
   =================================== */
.process {
    padding: 120px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
}

.process .section-header h2,
.process .section-header p {
    color: var(--white);
}

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

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--terracotta);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0.8;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--gray-light);
    line-height: 1.7;
}

.step-connector {
    display: none;
}

/* ===================================
   CONTACT
   =================================== */
.contact {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--sand);
    color: var(--terracotta);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--gray);
    text-decoration: none;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--terracotta);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--cream);
    padding: 48px;
    border-radius: 32px;
    border: 2px solid var(--sand);
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 8px;
}

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

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

.form-group label {
    display: block;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--sand);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(192, 90, 56, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
}

.form-success h4 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray);
    margin-bottom: 24px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

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

.footer-brand p {
    color: var(--gray-light);
    margin-top: 16px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* ===================================
   ANIMATIONS
   =================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper img {
        height: 500px;
    }

    .floating-card {
        display: none;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        border-bottom: 2px solid var(--sand);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-stats {
        gap: 24px;
    }

    .about-badge {
        right: 0;
        bottom: -20px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-image-wrapper img {
        height: 400px;
    }

    .service-card {
        padding: 32px 24px;
    }
}
