@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,700;1,300&display=swap');

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro KR", "SF Pro Text", "Apple SD Gothic Neo", "Pretendard", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.015em;
    color: #1d1d1f; /* 애플 공식 텍스트 컬러 */
}

.font-heading {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro KR", "SF Pro Text", "Pretendard", sans-serif;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.font-serif-luxury {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.02em;
}

html {
    scroll-behavior: smooth;
}

/* Jony Ive Inspired Minimalism */
.backdrop-blur-md {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

/* Custom Animations */
@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.05); opacity: 0.15; }
}

@keyframes slogan-breathing {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(220, 38, 38, 0.1));
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
        transform: scale(1);
        opacity: 0.85;
    }
    45%, 55% {
        filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.4));
        -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.5);
    }
    50% {
        filter: drop-shadow(0 0 45px rgba(220, 38, 38, 0.8)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
        -webkit-text-stroke: 1.5px rgba(255, 255, 255, 1);
        transform: scale(1.015);
        opacity: 1;
    }
}

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

.animate-floating-premium {
    animation: floating-premium 6s ease-in-out infinite;
    will-change: transform;
}

.animate-pulse-slow {
    animation: pulse-slow 6s ease-in-out infinite;
}

/* Smooth Transitions */
.transition-all {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hero Text Shadow */
#hero-title {
    line-height: 1.1;
    letter-spacing: -0.05em;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-vignette {
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%),
                linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

.glass-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

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

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

::-webkit-scrollbar-thumb {
    background: #e11d48;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #be123c;
}

/* Apple Style Badge */
.badge-apple {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Premium Button Shadows */
.shadow-premium-red {
    box-shadow: 0 20px 40px -10px rgba(220, 38, 38, 0.3);
}

.shadow-premium-red:hover {
    box-shadow: 0 30px 60px -12px rgba(220, 38, 38, 0.45);
}

/* Refined CTA Button */
.btn-apple-primary {
    background-color: #0071e3; /* Apple Blue - 브랜드 컬러에 맞게 조정 가능 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Hover Elevation */
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.12), 0 18px 36px -18px rgba(0,0,0,0.15);
}

.feature-card {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.myMenuSwiper {
    position: relative;
}

.menu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.swiper-slide-active .menu-img {
    transform: scale(1.08);
}

.menu-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.swiper-slide-active .menu-overlay {
    transform: translateY(0);
    opacity: 1;
}

.menu-overlay h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.menu-overlay p {
    opacity: 0.7;
    font-size: 15px;
}

/* pagination 스타일 */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ef4444;
}

/* Infinite Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 50s linear infinite;
    gap: 1.5rem;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.animate-marquee-reverse {
    animation: marquee 70s linear infinite reverse;
}

/* Fade edges for the marquee */
.marquee-fade-edges {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* Premium Keyword Ticker */
.premium-ticker-wrapper {
    background: linear-gradient(to bottom, #ffffff, #fcfcfc);
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .premium-ticker-wrapper {
        padding: 4rem 0;
    }
}

.premium-keyword {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a; /* slate-900 */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .premium-keyword { letter-spacing: -0.03em; }
}

.text-outline {
    -webkit-text-stroke: 1px #94a3b8;
    color: transparent;
}

.premium-keyword:hover {
    color: #ef4444; /* red-500 */
    -webkit-text-stroke: 0px;
    transform: scale(1.05);
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background-color: #ef4444;
    border-radius: 50%;
    margin: 0 1rem;
}

.review-card {
    width: 280px; /* Mobile width */
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (min-width: 768px) {
    .review-card {
        width: 400px; /* Desktop width */
    }
}

/* Mobile Menu Enhancements */
.mobile-menu-open {
    overflow: hidden;
}

#mobile-overlay.active {
    transform: translateY(0);
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

#mobile-overlay.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Link Decoration */
.footer-link {
    position: relative;
    display: inline-block;
}

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

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

/* Instagram Floating Button */
.instagram-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #be123c 100%);
    color: white;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px -6px rgba(190, 18, 60, 0.4);
    z-index: 100;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-floating-btn:hover {
    transform: scale(1.15) translateY(-8px);
    box-shadow: 0 20px 40px -8px rgba(190, 18, 60, 0.5);
}

@media (max-width: 768px) {
    .instagram-floating-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
        border-radius: 1rem;
    }
}

.text-gradient-red {
    background: linear-gradient(to right, #ef4444, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan-breathing {
    animation: slogan-breathing 4s ease-in-out infinite;
    will-change: filter, -webkit-text-stroke, transform, opacity;
    display: inline-block;
}

.text-outline-white {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    color: transparent;
}

.slogan-text-shadow {
    text-shadow: 0 5px 20px rgba(0,0,0,0.4);
}
