/* ========================================
   Rosa M. Amaya — Custom Styles
   Clean Minimalist · Deep Navy & Warm Gold
======================================== */

/* ---------- Base & Typography ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-weight: 300;
    letter-spacing: 0.01em;
}

::selection {
    background: rgba(201, 168, 76, 0.2);
    color: #0A1F35;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAFAF7;
}
::-webkit-scrollbar-thumb {
    background: rgba(15, 43, 76, 0.15);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 43, 76, 0.3);
}

/* ---------- Section Label ---------- */
.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9A84C;
}

/* ---------- Navigation ---------- */
#navbar {
    background: rgba(250, 250, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 43, 76, 0.05);
}

#navbar.scrolled {
    background: rgba(250, 250, 247, 0.95);
    box-shadow: 0 1px 0 rgba(15, 43, 76, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #0F2B4C !important;
}

/* Mobile menu animation */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}
#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
    width: 1.25rem;
}

/* ---------- Hero ---------- */
.hero-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9A84C;
}

/* Scroll line animation */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.6; transform: scaleY(1.2); }
}

/* ---------- CTA Buttons ---------- */
.cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: #0F2B4C;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #0F2B4C;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.1), transparent);
    transition: left 0.5s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    background: #0A1F35;
    border-color: #C9A84C;
    color: #C9A84C;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(15, 43, 76, 0.15);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: transparent;
    color: #0F2B4C;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(15, 43, 76, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-secondary:hover {
    border-color: #C9A84C;
    color: #C9A84C;
    transform: translateY(-1px);
}

/* ---------- Service Cards ---------- */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(15, 43, 76, 0.08);
}

/* ---------- Process Steps ---------- */
.process-step {
    transition: all 0.4s ease;
}

.process-step:hover {
    transform: translateY(-4px);
}

.process-step:hover .w-12 {
    width: 2rem;
    background: #C9A84C;
}

/* ---------- Form Styles ---------- */
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(201, 168, 76, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

input::placeholder,
textarea::placeholder {
    color: rgba(15, 43, 76, 0.2);
}

select option {
    background: #FAFAF7;
    color: #0F2B4C;
}

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Mobile Menu Links ---------- */
.mobile-link {
    font-size: 14px;
    letter-spacing: 0.2em;
}

/* ---------- Image hover ---------- */
img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .font-serif {
        line-height: 1.15;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem !important;
    }
    
    #contact-form {
        padding: 2rem 1.5rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #hero h1 {
        font-size: 3.5rem;
    }
}

/* ---------- Print styles ---------- */
@media print {
    #navbar, .scroll-line, .cta-primary, .cta-secondary {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
