/* ========================================
   ANA CREATIVES — Crème & Rose
   ======================================== */
 
:root {
    --bg:          #F0E6D8;
    --bg-warm:     #E8DED0;
    --bg-card:     rgba(26,20,17,0.025);
    --text:        #1A1411;
    --text-muted:  #8C7E75;
    --text-dim:    #B5A89E;
    --rose:        #C8878F;
    --rose-dark:   #B5707A;
    --rose-light:  #ECCFD3;
    --rose-glow:   rgba(200,135,143,0.15);
    --border:      rgba(26,20,17,0.08);
}
 
/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
 
body {
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
}
 
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
 
/* Custom cursor */
* { cursor: none; }
 
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--text);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}
 
.cursor-ring {
    width: 40px; height: 40px;
    border: 1px solid var(--text-dim);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease, border-color 0.3s ease, background 0.3s ease;
}
 
.cursor-ring.hover {
    transform: scale(2);
    border-color: var(--rose);
    background: var(--rose-glow);
}
 
/* Grain */
body::after {
    content: '';
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 10000;
}
 
/* Fonts */
.font-serif { font-family: 'Instrument Serif', serif; }
 
/* Text gradient (rose) */
.text-gradient {
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(135deg, var(--rose-dark), var(--rose), #D4A0A0);
}
 
/* Glow orb */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    pointer-events: none;
}
 
/* Line reveal */
.line-reveal { overflow: hidden; }
.line-reveal span { display: block; transform: translateY(110%); }
 
/* Page transition */
.page-transition {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    z-index: 99999;
    pointer-events: none;
}
 
/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed; top: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 2rem;
    z-index: 50;
    transition: all 0.4s ease;
}
 
.navbar.scrolled {
    background: rgba(240,230,216,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
 
.navbar-logo { display: flex; align-items: center; gap: 0.5rem; }
.navbar-logo img { height: 80px; }
 
.navbar-links {
    display: flex; gap: 2rem;
    font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--text-muted);
}
 
.navbar-links a {
    position: relative;
    transition: color 0.3s ease;
}
 
.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--rose);
    transition: width 0.3s ease;
}
 
.navbar-links a:hover::after,
.navbar-links a.active::after { width: 100%; }
.navbar-links a:hover,
.navbar-links a.active { color: var(--text); }
 
/* Dropdown */
.nav-dropdown {
    position: relative;
}
 
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    padding-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}
 
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
 
.nav-dropdown-menu ul {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.75rem 0;
    min-width: 220px;
    list-style: none;
    box-shadow: 0 10px 40px rgba(26,20,17,0.08);
}
 
.nav-dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: none;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
 
.nav-dropdown-menu li a:hover {
    color: var(--text);
    background: var(--rose-glow);
    padding-left: 1.75rem;
}
 
.nav-dropdown-menu li a::after {
    display: none;
}
 
/* ========================================
   MARQUEE
   ======================================== */
.marquee { 
    overflow: hidden;
    padding: 2rem 0;
}
 
.marquee-track {
    display: flex; gap: 60px;
    animation: marquee 25s linear infinite;
    width: max-content;
    align-items: center;
    padding: 1rem 0;
}
 
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-track img {
    height: 6rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.marquee-track img:hover {
    opacity: 0.9;
}

.marquee-track .separator {
    color: var(--rose-light);
    font-size: 1.2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
 
/* ========================================
   SERVICE CARD
   ======================================== */
.service-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 0.75rem;
    padding: 2rem 3rem;
    display: flex; align-items: center; gap: 2.5rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}
 
.service-card:hover {
    background: rgba(200,135,143,0.05);
    border-color: var(--rose-light);
    transform: translateX(10px);
}
 
.service-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--rose), var(--rose-light));
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 3px;
}
 
.service-card:hover::after { opacity: 1; }
 
.service-index {
    -webkit-text-stroke: 1.5px var(--rose-light);
    color: transparent;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.5s ease;
}
 
.service-card:hover .service-index {
    -webkit-text-stroke-color: var(--rose);
}
 
.service-tags {
    color: var(--text-dim);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-left: auto;
    flex-shrink: 0;
}
 
/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    position: relative;
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.btn-primary:hover { transform: scale(1.03); }
 
.btn-primary .btn-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--rose-dark), var(--rose));
    transform: translateY(100%);
    transition: transform 0.5s ease;
}
 
.btn-primary:hover .btn-bg { transform: translateY(0); }
 
.btn-primary .btn-label {
    position: relative; z-index: 1;
    transition: color 0.4s ease;
}
 
.btn-primary:hover .btn-label { color: white; }
 
.btn-outline {
    display: inline-block;
    border: 1px solid var(--border);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}
 
.btn-outline:hover {
    background: var(--rose-glow);
    border-color: var(--rose-light);
}
 
/* ========================================
   PORTFOLIO GRID
   ======================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
 
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    aspect-ratio: 4/3;
    background: var(--bg-warm);
}
 
.portfolio-item.tall { grid-row: span 2; aspect-ratio: auto; }
 
.portfolio-item img,
.portfolio-item video {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.portfolio-item:hover img,
.portfolio-item:hover video { transform: scale(1.05); }
 
.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,20,17,0.85), transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}
 
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
 
.portfolio-overlay span { color: var(--rose-light); }
.portfolio-overlay h3 { color: white; }
.portfolio-overlay p { color: rgba(255,255,255,0.6); }
 
/* ========================================
   CONTACT FORM
   ======================================== */
.form-group { margin-bottom: 2rem; }
 
.form-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
 
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s ease;
}
 
.form-input:focus { border-color: var(--rose); }
.form-input::placeholder { color: var(--text-dim); }
textarea.form-input { resize: vertical; min-height: 120px; }
 
.service-option {
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
}
 
.service-option:hover,
.service-option.selected {
    border-color: var(--rose);
    color: var(--rose-dark);
    background: var(--rose-glow);
}
 
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}
 
.contact-info-card:hover {
    border-color: var(--rose-light);
    background: var(--rose-glow);
}
 
/* ========================================
   FOOTER
   ======================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}
 
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { transition: color 0.3s ease; }
.footer-links a:hover { color: var(--rose-dark); }
 
/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
    min-height: 50vh;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 3rem 4rem;
     overflow: visible;
}
 
.page-hero .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}
 
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    padding-right: 1rem;
}
 
/* ========================================
   MISC
   ======================================== */
.process-step { position: relative; padding-left: 3rem; }
.process-step::before {
    content: ''; position: absolute;
    left: 0; top: 0;
    width: 1px; height: 100%;
    background: linear-gradient(to bottom, var(--rose), transparent);
}
.process-step::after {
    content: ''; position: absolute;
    left: -4px; top: 8px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--rose);
}
 
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.5s ease;
}
 
.value-card:hover {
    background: var(--rose-glow);
    border-color: var(--rose-light);
}
 
.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--rose-dark);
}
 
/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 768px) {
    .navbar { padding: 1.25rem 3rem; }
    .page-hero { padding: 0 5rem 5rem; }
    .service-card { padding: 2.5rem 3.5rem; }
}
 
@media (max-width: 767px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item.tall { aspect-ratio: 4/3; }
    .service-card { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
    .service-tags { margin-left: 0; margin-top: 0.5rem; }
    .cursor-dot, .cursor-ring { display: none; }
    * { cursor: auto; }
    .footer { flex-direction: column; gap: 1rem; text-align: center; }
}
 
/* Utilities */
.section-padding { padding: 8rem 2rem; }
@media (min-width: 768px) { .section-padding { padding: 8rem 5rem; } }
 /* Waves background */
.waves-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.waves-container canvas {
    width: 100%;
    height: 100%;
}