/* Global Reset & Core Styles */
:root {
    --bg-color: #faf9f7;
    /* Warm off-white */
    --card-bg: rgba(255, 255, 255, 0.85);
    /* Light Glass */
    --text-primary: #3b3534;
    /* Soft dark brown/gray */
    --text-secondary: #7a706d;
    /* Muted brown/gray */
    --accent-color: #a75446;
    /* Terracotta */
    --accent-hover: #8f4438;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --card-border: rgba(167, 84, 70, 0.12);
    /* Light terracotta border */
    --nav-bg: rgba(250, 249, 247, 0.95);
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.accent-italic {
    font-style: italic;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 400;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(167, 84, 70, 0.2);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 84, 70, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 0.6rem 1.5rem;
}

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

.btn-large {
    font-size: 1.1rem;
    padding: 1.25rem 3.5rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 4%;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 28px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Split Hero Section */
.hero-split {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-split-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 6% 4rem 8%;
}

.hero-split-text h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero-split-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-split-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.hero-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px 0 0 20px;
    transition: transform 1.5s ease-out;
}

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

/* Editorial Services Section */
.services-editorial {
    background-color: var(--card-bg);
    border-top: 1px solid var(--card-border);
}

.section-header-editorial {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

.header-left h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.header-right {
    max-width: 400px;
    padding-bottom: 0.5rem;
}

.header-right p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
}

.editorial-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 300;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1rem;
}

.card-image-wrap {
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.editorial-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Split Join Us Section */
.split-join {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 6rem 4%;
}

.split-join-image {
    flex: 1;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
}

.split-join-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-join-content {
    flex: 1;
    padding: 2rem;
}

.split-join-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.split-join-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Editorial Footer */
.footer-editorial {
    background: #fff;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--card-border);
}

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

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-col-brand p {
    color: var(--text-secondary);
    max-width: 300px;
    font-size: 1rem;
}

.footer-col-contact h4,
.footer-col-social h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-col-contact p,
.footer-col-social a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: block;
}

.contact-details i,
.footer-col-social i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

.footer-col-social a:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.fab-btn.whatsapp {
    background-color: #22c55e;
}

.fab-btn.scroll-top {
    background-color: var(--text-primary);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.fab-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

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

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s;
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-split h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        padding: 2rem;
        border-bottom: 1px solid var(--card-border);
    }

    .hero-split {
        flex-direction: column;
        padding-top: 70px;
    }

    .hero-split-image img {
        border-radius: 0;
    }

    .hero-split-text {
        padding: 2rem;
        text-align: center;
    }

    .hero-split-text p {
        margin: 0 auto 2.5rem;
    }

    .hero-split-text h1 {
        font-size: 3rem;
    }

    .section-header-editorial {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .header-left h2 {
        font-size: 2.5rem;
    }

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

    .split-join {
        flex-direction: column;
        padding: 4rem 1.5rem;
    }

    .split-join-image {
        height: 400px;
        width: 100%;
    }

    .split-join-content {
        padding: 2rem 0 0;
    }

    .split-join-content h2 {
        font-size: 2.5rem;
    }

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