/* Custom styles for Mountain Stoke Espresso */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #2d2d2d;
    background-color: #faf9f7;
    line-height: 1.6;
}

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

.headline-large {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.headline-medium {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* Hero split layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-split > div:first-child {
        order: 2;
    }
    
    .hero-split > div:last-child {
        order: 1;
        min-height: 50vh;
    }
}

/* Decorative elements */
.decorative-line {
    width: 60px;
    height: 3px;
    background-color: #FF6B6B;
}

/* Button styles */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 107, 107, 0.2);
    transition: height 0.3s ease;
}

.btn-primary:hover::after {
    height: 100%;
}

/* Image hover effects */
.img-zoom {
    transition: transform 0.6s ease;
}

.img-zoom:hover {
    transform: scale(1.05);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf9f7;
}

::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d2d2d;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Ensure all text is readable */
.text-white {
    color: #ffffff;
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-charcoal-600 {
    color: #4a4a4a;
}

.text-charcoal-700 {
    color: #3d3d3d;
}

.text-charcoal-900 {
    color: #1a1a1a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .headline-large {
        font-size: 2.25rem;
    }
    
    .headline-medium {
        font-size: 1.75rem;
    }
    
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .py-28 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}
