/* ===================================
   피크닉인 남강 - 프리미엄 스타일시트
   고급스럽고 감성적인 여행 브랜드 디자인
   =================================== */

/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', sans-serif;
    overflow-x: hidden;
    background: #FFFFFF;
    color: #1A1A1A;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 0; /* 모바일 CTA를 위한 여백 제거, 필요 시 페이지별로 추가 */
    font-size: clamp(14px, 1.5vw, 16px); /* 반응형 기본 폰트 크기 */
}

/* 모바일에서 하단 CTA 여백 확보 */
@media (max-width: 767px) {
    body {
        padding-bottom: 72px; /* CTA 버튼 높이만큼 여백 */
    }
}

/* ===================================
   고급 애니메이션 키프레임
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* 스크롤 애니메이션 클래스 */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

/* 스크롤 애니메이션을 위한 초기 상태 */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 홈페이지에서만 애니메이션 적용 */
.home-page .animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}

/* 애니메이션 트리거 */
.animate-on-scroll.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-on-scroll.fade-up {
    transform: translateY(0);
}

.home-page .animate-on-scroll.fade-up {
    transform: translateY(40px);
}

/* ===================================
   로딩 스크린 - 프리미엄 스타일
   =================================== */

#loading-screen {
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    background: linear-gradient(135deg, #0B1D3A 0%, #1a3a6b 100%);
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* ===================================
   헤더 - 고급스러운 네비게이션
   =================================== */

header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background-color: rgba(11, 29, 58, 0.97) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* 모바일 메뉴 */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 햄버거 메뉴 아이콘 애니메이션 */
.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   Hero 섹션 - 인상적인 첫 화면
   =================================== */

/* 크로스페이드 배경 컨테이너 */
.hero-background-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 배경 이미지 스타일 */
.hero-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 8s ease-in-out;
    transform: scale(1);
}

.hero-bg-image.active {
    opacity: 1;
    transform: scale(1.1); /* 켄번스 효과 */
}

/* 그라데이션 오버레이 - 위는 밝고 아래는 어둡게 */
.hero-overlay {
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(11, 29, 58, 0.4) 40%,
        rgba(11, 29, 58, 0.85) 100%
    );
    backdrop-filter: blur(2px);
}

.hero-title {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    font-family: 'Nanum Myeongjo', serif;
}

.hero-subtitle {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 물결선 스크롤 인디케이터 */
.wave-scroll-indicator {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.wave-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: waveFlow 2s ease-in-out infinite;
}

.wave-line.wave-1 {
    animation-delay: 0s;
}

.wave-line.wave-2 {
    animation-delay: 0.3s;
}

.wave-line.wave-3 {
    animation-delay: 0.6s;
}

@keyframes waveFlow {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* 스크롤 다운 화살표 애니메이션 */
.scroll-indicator {
    animation: bounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Hero 섹션 모바일 최적화 */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem) !important;
        margin-bottom: 2rem !important;
    }
    
    .wave-scroll-indicator {
        display: none;
    }
    
    .hero-bg-image {
        object-position: center center !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem) !important;
        padding: 0 1rem;
    }
    
    .btn-accent {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
}

/* ===================================
   공감 섹션 스타일
   =================================== */

.empathy-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.empathy-text-wrapper {
    min-height: 150px;
    position: relative;
    z-index: 2;
}

.empathy-text {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .empathy-section {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
    
    .empathy-text-wrapper {
        margin-bottom: 8rem !important;
        min-height: 100px;
    }
    
    .empathy-text-wrapper:last-child {
        margin-bottom: 0 !important;
    }
    
    .empathy-text {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .empathy-section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .empathy-text-wrapper {
        margin-bottom: 6rem !important;
    }
    
    .empathy-text {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        line-height: 1.5 !important;
    }
}

/* ===================================
   참가자 후기 슬라이더 스타일
   =================================== */

.review-slider-container {
    position: relative;
    padding: 20px 0;
}

.review-slider {
    display: flex;
    cursor: grab;
    user-select: none;
    will-change: transform;
}

/* 자동 스크롤 애니메이션 */
.review-slider.auto-scroll {
    animation: autoScroll 20s linear infinite;
}

.review-slider.auto-scroll.paused {
    animation-play-state: paused;
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-400px * 6)); /* 6개 카드만큼 이동 */
    }
}

/* 모바일 애니메이션 */
@media (max-width: 768px) {
    @keyframes autoScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-320px * 6));
        }
    }
}

@media (max-width: 480px) {
    @keyframes autoScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 6));
        }
    }
}

.review-slider:active {
    cursor: grabbing;
}

.review-card-wrapper {
    transition: opacity 0.3s;
    width: 400px;
    flex-shrink: 0;
}

/* 모바일 카드 너비 */
@media (max-width: 768px) {
    .review-card-wrapper {
        width: 320px;
    }
}

@media (max-width: 480px) {
    .review-card-wrapper {
        width: 280px;
    }
}

/* 3D 플립 카드 */
.review-card-flip {
    perspective: 1000px;
    cursor: pointer;
    min-height: 350px;
    transition: transform 0.3s ease;
}

.review-card-flip:hover {
    transform: scale(1.02);
}

.review-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.review-card-flip.flipped .review-card-inner {
    transform: rotateY(180deg);
}

.review-card-front,
.review-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 350px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}

.review-card-front {
    z-index: 2;
    transform: rotateY(0deg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-card-back {
    transform: rotateY(180deg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .review-card-flip {
        min-height: 300px;
    }
    
    .review-card-inner,
    .review-card-front,
    .review-card-back {
        min-height: 300px;
    }
    
    .review-card-front p,
    .review-card-back p {
        font-size: 1.125rem !important;
    }
}

/* ===================================
   신뢰도 수치 섹션 스타일
   =================================== */

.stats-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.counter-number {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .stats-card {
        padding: 2rem !important;
    }
    
    .stats-card .text-7xl {
        font-size: 3.5rem !important;
    }
    
    .stats-card .text-5xl,
    .stats-card .text-6xl {
        font-size: 2.5rem !important;
    }
    
    .stats-card .text-3xl,
    .stats-card .text-4xl {
        font-size: 1.5rem !important;
    }
}

/* ===================================
   프리미엄 버튼 스타일
   =================================== */

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* 버튼 Hover 효과 강화 */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 94, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* 액센트 버튼 특별 효과 */
.btn-accent {
    box-shadow: 0 8px 24px rgba(255, 94, 0, 0.3);
}

.btn-accent:hover {
    box-shadow: 0 16px 40px rgba(255, 94, 0, 0.4);
}

/* ===================================
   프리미엄 카드 디자인
   =================================== */

.card-hover {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    overflow: hidden;
    background: white;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 29, 58, 0.03) 0%,
        transparent 50%,
        rgba(255, 94, 0, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.card-hover:hover::before {
    opacity: 1;
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.15),
                0 12px 24px rgba(11, 29, 58, 0.1);
}

/* 카드 이미지 오버레이 효과 */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.02) 100%
    );
    transition: opacity 0.4s ease;
}

.card-hover:hover .card-image-wrapper::after {
    opacity: 0.7;
}

.card-hover:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.card-image-wrapper img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   타임라인 스타일 - 상품 상세 페이지
   =================================== */

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 40px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(
        to bottom, 
        #FF5E00 0%,
        rgba(255, 94, 0, 0.3) 70%,
        transparent 100%
    );
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #FF5E00 0%, #ff7a33 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.3),
                0 0 0 4px rgba(255, 94, 0, 0.15);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 94, 0, 0.4),
                0 0 0 6px rgba(255, 94, 0, 0.2);
}

/* ===================================
   프리미엄 배지 스타일
   =================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.badge-orange {
    background: linear-gradient(135deg, #FF5E00 0%, #ff7a33 100%);
    color: white;
}

.badge-orange:hover {
    box-shadow: 0 6px 20px rgba(255, 94, 0, 0.4);
    transform: translateY(-2px);
}

.badge-blue {
    background: linear-gradient(135deg, #0B1D3A 0%, #1a3a6b 100%);
    color: white;
}

.badge-special {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1A1A1A;
    animation: shimmer 3s infinite linear;
    background-size: 200% 100%;
}

.badge-gray {
    background: linear-gradient(135deg, #6B7280 0%, #9CA3AF 100%);
    color: white;
}

/* 가격 표시 스타일 - 프리미엄 */
.price-container {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.price-original {
    text-decoration: line-through;
    opacity: 0.5;
    font-weight: 400;
    color: #666666;
}

.price-discount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF5E00;
    letter-spacing: -0.02em;
}

.price-discount-badge {
    background: linear-gradient(135deg, #FF5E00 0%, #ff7a33 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ===================================
   반응형 유틸리티
   =================================== */

@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
    
    .card-hover:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .price-discount {
        font-size: 2rem;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none !important;
    }
}

/* ===================================
   이미지 스타일
   =================================== */

img {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

img.lazy-loading {
    opacity: 0;
}

img.lazy-loaded {
    opacity: 1;
}

/* ===================================
   프리미엄 스크롤바
   =================================== */

::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0B1D3A 0%, #1a3a6b 100%);
    border-radius: 6px;
    border: 2px solid #f8f9fa;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FF5E00 0%, #ff7a33 100%);
}

/* ===================================
   그리드 애니메이션
   =================================== */

.grid-animate > * {
    animation-fill-mode: both;
}

.grid-animate > *:nth-child(1) {
    animation-delay: 0.1s;
}

.grid-animate > *:nth-child(2) {
    animation-delay: 0.2s;
}

.grid-animate > *:nth-child(3) {
    animation-delay: 0.3s;
}

.grid-animate > *:nth-child(4) {
    animation-delay: 0.4s;
}

.grid-animate > *:nth-child(5) {
    animation-delay: 0.5s;
}

.grid-animate > *:nth-child(6) {
    animation-delay: 0.6s;
}

/* ===================================
   링크 및 기타 요소
   =================================== */

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF5E00;
}

/* 구글 폼 iframe 스타일 */
iframe {
    border: none;
    border-radius: 12px;
}

/* ===================================
   섹션 제목 스타일
   =================================== */

.section-title {
    position: relative;
    text-align: center;
}

/* ===================================
   프로모션 배너 스타일
   =================================== */

.promo-banner {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmerSlow 4s ease-in-out infinite;
}

@keyframes shimmerSlow {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(30deg);
    }
    50% {
        transform: translateX(0%) translateY(0%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(30deg);
    }
}
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Pulse animation for status badge */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 94, 0, 0);
        transform: scale(1.05);
    }
}

.badge-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ===================================
   접근성 개선
   =================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 포커스 스타일 */
*:focus-visible {
    outline: 3px solid #FF5E00;
    outline-offset: 2px;
}

/* ===================================
   프린트 스타일
   =================================== */

@media print {
    .no-print {
        display: none !important;
    }
}

/* ===================================
   About Page Specific Styles
   =================================== */

/* Hero Section with Parallax */
.hero-about {
    position: relative;
}

.parallax-bg, .parallax-img {
    will-change: transform;
}

/* Typing Animation */
.typing-text {
    display: inline-block;
    border-right: 3px solid #FF5E00;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Gallery Grid - Masonry Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    grid-auto-rows: 200px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(2) { grid-row: span 1; }
.gallery-item:nth-child(3) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 1; }
.gallery-item:nth-child(5) { grid-row: span 1; }
.gallery-item:nth-child(6) { grid-row: span 2; }
.gallery-item:nth-child(7) { grid-row: span 1; }
.gallery-item:nth-child(8) { grid-row: span 2; }

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 29, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #FF5E00;
}

/* Testimonial Slider */
.testimonial-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonial-slider {
    animation: slide 30s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 6 - 1.5rem * 6));
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
    
    .gallery-item {
        grid-row: span 1 !important;
    }
    
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-350px * 6 - 1.5rem * 6));
        }
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
