/* Saklı Bahçe Esenköy - Accommodation Styles */

/* Hero Section */
.accommodation-hero {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.accommodation-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8) 0%, rgba(139, 164, 47, 0.6) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 5;
}

.accommodation-hero .container {
    position: relative;
    z-index: 10;
}

/* Mobile optimization for hero */
@media (max-width: 768px) {
    .accommodation-hero {
        background-attachment: scroll;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 40px;
        margin-top: 0;
    }
    
    .breadcrumb-nav {
        z-index: 40;
        top: 80px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
        backdrop-filter: blur(16px);
        padding: 0.625rem 0;
    }
    
    .breadcrumb-nav .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .breadcrumb-nav a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .breadcrumb-nav .text-primary {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
}

/* Scroll Mouse Animation */
.scroll-mouse-accommodation {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.scroll-mouse-accommodation:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Coming Soon Badge */
.accommodation-hero .bg-gradient-to-r {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(218, 165, 32, 0.5);
    }
    to {
        box-shadow: 0 0 30px rgba(218, 165, 32, 0.8), 0 0 40px rgba(218, 165, 32, 0.3);
    }
}

/* Feature Cards */
.group {
    will-change: transform;
}

.group:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.group:hover .w-16 {
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.3);
}

/* Timeline Styles */
.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* FAQ Styles */
.faq-item {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(45, 90, 39, 0.2);
    box-shadow: 0 4px 20px rgba(45, 90, 39, 0.1);
}

.faq-question {
    position: relative;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    display: block !important;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 40;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 90, 39, 0.1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-100%);
    opacity: 0;
    padding: 0.75rem 0;
}


.breadcrumb-nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-nav li {
    display: flex;
    align-items: center;
}

.breadcrumb-nav a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
}

.breadcrumb-nav a:hover {
    color: #2d5a27;
    background: rgba(45, 90, 39, 0.08);
    border-color: rgba(45, 90, 39, 0.15);
    transform: translateY(-1px);
}

.breadcrumb-nav a i {
    margin-right: 0.375rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

.breadcrumb-nav .text-primary {
    color: #2d5a27;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.1) 0%, rgba(139, 164, 47, 0.08) 100%);
    border: 1px solid rgba(45, 90, 39, 0.2);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.breadcrumb-nav .text-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.breadcrumb-nav .text-primary:hover::before {
    left: 100%;
}

.breadcrumb-nav .fas.fa-chevron-right {
    color: #9ca3af;
    font-size: 0.7rem;
    margin: 0 0.25rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Enhanced Breadcrumb Animations */
@keyframes breadcrumbSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.breadcrumb-nav.visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: breadcrumbSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.breadcrumb-nav a,
.breadcrumb-nav .text-primary {
    position: relative;
    overflow: hidden;
}

.breadcrumb-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2d5a27, #8bab2f);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.breadcrumb-nav a:hover::after {
    width: 80%;
}

.breadcrumb-nav li {
    animation: fadeInScale 0.6s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
    opacity: 0;
    transform: scale(0.8);
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Breadcrumb Item Hover Chain Effect */
.breadcrumb-nav:hover .fas.fa-chevron-right {
    transform: translateX(2px);
    color: #6b7280;
}

.breadcrumb-nav .text-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    width: 6px;
    height: 6px;
    background: #2d5a27;
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
}

.breadcrumb-nav .text-primary:hover::after {
    transform: translateY(-50%) scale(1);
}

/* Fix for header spacing */
.accommodation-hero {
    margin-top: 0;
    padding-top: 80px;
}

/* Container and spacing fixes */
.container {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Section spacing */
section {
    overflow-x: hidden;
}

/* Fix potential layout issues */
* {
    box-sizing: border-box;
}

/* Grid responsive improvements */
.grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid.grid-cols-1.md\\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .grid.grid-cols-1.md\\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .grid.grid-cols-1.lg\\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Notification Section Animation */
.notification-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.notification-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--primary-dark), var(--secondary-dark));
}

/* Responsive Design */
@media (max-width: 1024px) {
    .accommodation-hero h1 {
        font-size: 3.5rem;
    }
    
    .accommodation-hero h1 span {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .accommodation-hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .accommodation-hero h1 span {
        font-size: 2rem;
    }
    
    .accommodation-hero p {
        font-size: 1.125rem;
    }
    
    .accommodation-hero .bg-gradient-to-r {
        padding: 1rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .accommodation-hero .bg-gradient-to-r .text-xl {
        font-size: 1rem;
    }
    
    .accommodation-hero .bg-gradient-to-r .text-sm {
        font-size: 0.75rem;
    }
    
    .accommodation-hero .bg-gradient-to-r .fas.fa-clock {
        font-size: 1.5rem;
    }
    
    .breadcrumb-nav {
        padding: 0.6rem 0;
        z-index: 40;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.9) 100%);
        backdrop-filter: blur(16px);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    }
    
    .breadcrumb-nav a,
    .breadcrumb-nav .text-primary {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .timeline-item .ml-16 {
        margin-left: 3rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .accommodation-hero {
        padding-top: 120px;
        min-height: 100dvh;
    }
    
    .accommodation-hero h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .accommodation-hero h1 span {
        font-size: 1.75rem;
    }
    
    .accommodation-hero p {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.5;
    }
    
    .accommodation-hero .flex-col {
        gap: 1rem;
    }
    
    .accommodation-hero .btn-primary,
    .accommodation-hero .border-2 {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .breadcrumb-nav {
        top: 80px;
        padding: 0.65rem 0;
        z-index: 40;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
        backdrop-filter: blur(18px);
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    }
    
    .breadcrumb-nav .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .breadcrumb-nav a {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .breadcrumb-nav .text-primary {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .timeline-item .ml-16 {
        margin-left: 2rem;
    }
    
    .timeline-item .absolute.left-6 {
        left: 0.5rem;
    }
    
    .grid.grid-cols-1.md\\:grid-cols-3 {
        gap: 1rem;
    }
    
    /* Feature cards mobile spacing */
    .group {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* FAQ mobile spacing */
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question span {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* Print Styles */
@media print {
    .accommodation-hero {
        background: #2d5a27;
        color: white;
        -webkit-print-color-adjust: exact;
    }
    
    .btn-primary,
    .border-2 {
        border: 2px solid #2d5a27;
        color: #2d5a27;
        background: white;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .accommodation-hero::before {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .faq-item {
        border: 2px solid #000;
    }
    
    .group {
        border: 2px solid #000;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .accommodation-hero .bg-gradient-to-r {
        animation: none;
    }
    
    .scroll-mouse-accommodation {
        animation: none;
    }
    
    .group {
        transition: none;
    }
    
    .faq-answer {
        transition: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .bg-white {
        background-color: #1a1a1a;
        color: white;
    }
    
    .text-gray-800 {
        color: #e5e5e5;
    }
    
    .text-gray-600 {
        color: #a0a0a0;
    }
    
    .bg-gray-50 {
        background-color: #2a2a2a;
    }
    
    .border-gray-100 {
        border-color: #404040;
    }
    
    .breadcrumb-nav {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.9) 100%);
        border-bottom: 1px solid rgba(75, 103, 88, 0.3);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }
    
    .breadcrumb-nav a {
        color: #d1d5db;
    }
    
    .breadcrumb-nav a:hover {
        color: #8bab2f;
        background: rgba(139, 164, 47, 0.15);
        border-color: rgba(139, 164, 47, 0.3);
    }
    
    .breadcrumb-nav .text-primary {
        color: #8bab2f;
        background: linear-gradient(135deg, rgba(139, 164, 47, 0.2) 0%, rgba(45, 90, 39, 0.15) 100%);
        border-color: rgba(139, 164, 47, 0.4);
    }
}

/* Performance optimizations */
.accommodation-hero {
    will-change: transform;
    transform: translateZ(0);
}

.group {
    will-change: transform;
    transform: translateZ(0);
}

/* Focus styles for accessibility */
.btn-primary:focus,
.border-2:focus,
.faq-question:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

/* Selection styles */
::selection {
    background-color: var(--primary);
    color: white;
}

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