/* ===== Custom Styles for Colon Me Clean ===== */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* --- Custom Color Overrides --- */
.bg-cream-50 { background-color: #fdfcfa; }
.bg-cream-100 { background-color: #faf8f4; }
.bg-cream-200 { background-color: #f5f0e8; }

/* --- Navbar --- */
.nav-scrolled {
    background: rgba(253, 252, 250, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

.nav-logo-text {
    transition: color 0.3s ease;
}

.nav-logo-sub {
    transition: color 0.3s ease;
}

.nav-scrolled .nav-logo-text {
    color: #1B4332;
}

.nav-scrolled .nav-logo-sub {
    color: rgba(27, 67, 50, 0.6);
}

.nav-link {
    position: relative;
}

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

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

/* --- Buttons --- */
.btn-primary {
    background: #1B4332;
    color: #ffffff;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #1B4332;
}

.btn-primary:hover {
    background: #143326;
    border-color: #143326;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2D6A4F;
    background: rgba(45, 106, 79, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-label-light {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* --- Hero Floating Cards --- */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.5s; }
.card-3 { animation-delay: -3s; }
.card-4 { animation-delay: -4.5s; }
.card-5 { animation-delay: -2s; animation-duration: 8s; }

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

/* --- Scroll Indicator --- */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* --- Service Cards --- */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1B4332, #40916C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

/* --- Testimonial Cards --- */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    color: rgba(45, 106, 79, 0.08);
    line-height: 1;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Menu --- */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-menu.open {
    max-height: 500px;
}

.mobile-nav-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #2D6A4F;
    padding-left: 12px;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #2D6A4F;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::before {
    width: 6px;
}

/* --- Input Focus States --- */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
}

/* --- Selection Color --- */
::selection {
    background: rgba(45, 106, 79, 0.2);
    color: #1B4332;
}
