/* ========================================
   Gifts On Parkway - Custom Styles
   Clean Minimalist • Terracotta & Sand
======================================== */

/* Custom Properties */
:root {
    --color-terracotta: #C2704E;
    --color-sand: #F5E6D3;
    --color-sand-light: #FDFBF7;
    --color-stone-dark: #1C1917;
    --color-stone-medium: #57534E;
    --color-stone-light: #A8A29E;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Navbar Styles */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-terracotta);
    transition: width 0.3s ease;
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 2s;
}

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

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

/* Progressive enhancement for scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Selection Color */
::selection {
    background-color: var(--color-terracotta);
    color: white;
}

::-moz-selection {
    background-color: var(--color-terracotta);
    color: white;
}

/* Button Focus States */
button:focus,
a:focus {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 2px;
}

/* Image Loading Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Card Hover Effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Subtle Line Separators */
.border-stone-200 {
    border-color: rgba(168, 162, 158, 0.3);
}

/* Image Aspect Ratios */
.aspect-\[4\/5\] {
    aspect-ratio: 4 / 5;
}

.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}

/* Smooth Transitions */
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

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

::-webkit-scrollbar-track {
    background: var(--color-sand-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-stone-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-stone-medium);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Print Styles */
@media print {
    nav,
    #mobile-menu-btn,
    .animate-float,
    .animate-float-delayed {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-stone-900 {
        background: #fff !important;
        color: #000 !important;
    }
}
