/* ============================================
   Thirty5 — Global Styles
   Mobile-first, responsive design
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #1a1a2e;
    --color-accent: #e94560;
    --color-accent-dark: #c73550;
    --color-text: #2d2d3a;
    --color-text-light: #6b6b80;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8fc;
    --color-border: #e8e8f0;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --container-max: 1200px;
    --section-padding: 4rem 0;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-dark);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: var(--section-padding);
}

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

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

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

.logo-accent {
    color: var(--color-accent);
}

/* Hamburger */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Nav */
.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg);
    padding: 5rem 2rem 2rem;
    transition: right var(--transition);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.main-nav.open {
    right: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-accent);
    background: rgba(233, 69, 96, 0.06);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
}

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

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

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

.btn-white:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 4rem 0 3rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-eyebrow,
.section-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-bg-shape {
    position: absolute;
    top: -20%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    padding: 3.5rem 0 2.5rem;
    background: var(--color-bg-alt);
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero .hero-description {
    max-width: 600px;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-description {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.08);
    transform: translateY(-2px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 69, 96, 0.08);
    border-radius: var(--radius-sm);
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Experience Banner --- */
.experience-banner {
    background: var(--color-primary);
    color: #fff;
    padding: 3.5rem 0;
}

.experience-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent);
}

.experience-number span {
    color: rgba(255, 255, 255, 0.4);
}

.experience-text h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.experience-text p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

/* --- Split Content --- */
.split-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.split-text h2 {
    margin-bottom: 1rem;
}

.split-text > p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.check-list {
    list-style: none;
    margin-bottom: 2rem;
}

.check-list li {
    padding: 0.4rem 0 0.4rem 1.75rem;
    position: relative;
    color: var(--color-text);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.detail-list {
    list-style: none;
    margin-top: 1.5rem;
}

.detail-list li {
    padding: 0.6rem 0;
    padding-left: 1.25rem;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(233, 69, 96, 0.08);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Visual blocks for services page */
.visual-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border-radius: var(--radius);
    position: relative;
}

.visual-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.visual-strategy { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.visual-design { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.visual-social { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.visual-photo { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.visual-video { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.visual-comm { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }

/* Design showcase (homepage) */
.design-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    min-height: 250px;
}

.showcase-item {
    border-radius: var(--radius-sm);
}

.showcase-1 {
    grid-row: 1 / 3;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.showcase-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.showcase-3 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* --- Timeline (About page) --- */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.35rem;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.timeline-content p {
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* --- Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.value-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--color-border);
}

.value-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.value-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* --- Numbers --- */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.number-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.1;
}

.number-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-form-wrapper h2,
.contact-info h2 {
    margin-bottom: 0.75rem;
}

.contact-form-wrapper > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: border-color var(--transition);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b0c0;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b6b80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 233, 123, 0.15);
    color: #2ecc71;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.form-success h3 {
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--color-text-light);
}

/* Contact info */
.info-card {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
}

.info-card:first-of-type {
    padding-top: 0;
}

.info-card h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-card p {
    font-size: 1.05rem;
}

.social-link {
    display: inline-block;
    margin-right: 1rem;
    font-weight: 500;
}

.cafes-section {
    margin-top: 2rem;
}

.cafes-section > h3 {
    margin-bottom: 0.5rem;
}

.cafes-section > p {
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.cafe-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cafe-item {
    padding: 1.25rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-accent);
}

.cafe-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cafe-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

.cta-section h2 {
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: #fff;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Responsive — Tablet (640px+)
   ============================================ */
@media (min-width: 640px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbers-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .number-value {
        font-size: 3rem;
    }

    .experience-content {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .experience-number {
        font-size: 6rem;
        flex-shrink: 0;
    }
}

/* ============================================
   Responsive — Desktop (960px+)
   ============================================ */
@media (min-width: 960px) {
    :root {
        --section-padding: 5.5rem 0;
    }

    h1 { font-size: 3.25rem; }
    h2 { font-size: 2.25rem; }

    .container {
        padding: 0 2rem;
    }

    /* Desktop nav */
    .menu-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 0;
    }

    .main-nav a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .hero {
        padding: 6rem 0 5rem;
    }

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

    .hero-description {
        font-size: 1.15rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .split-content {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .split-text {
        flex: 1;
    }

    .split-visual {
        flex: 1;
    }

    .split-content.reverse {
        flex-direction: row-reverse;
    }

    .page-hero {
        padding: 5rem 0 3.5rem;
    }

    .page-hero .hero-description {
        max-width: 650px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .timeline {
        padding-left: 3rem;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-marker {
        left: -3rem;
    }
}

/* ============================================
   Responsive — Large Desktop (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    .hero h1 {
        font-size: 4rem;
    }

    .experience-number {
        font-size: 8rem;
    }
}
