/* Saklı Bahçe Esenköy - Hakkımızda Sayfası Özel Stilleri */

/* 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.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 ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.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;
    position: relative;
    overflow: hidden;
}

.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::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 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;
}

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

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

/* Hero Section adjustments for breadcrumb */
.about-hero {
    margin-top: 0;
    padding-top: 80px;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
    .about-hero {
        padding-top: 100px;
    }
    
    .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 a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .breadcrumb-nav .text-primary {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding-top: 120px;
        min-height: 100dvh;
    }
    
    .breadcrumb-nav {
        top: 80px;
        padding: 0.65rem 0;
        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 a,
    .breadcrumb-nav .text-primary {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Global Overflow Fix */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Dancing Script Font */
.font-dancing-script {
    font-family: 'Dancing Script', cursive;
}

/* About Hero Section */
.about-hero {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(179, 69, 18, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(75, 103, 88, 0.3) 100%
    );
    z-index: 1;
}

/* Hero Badge Animation */
.hero-badge {
    animation: heroFloat 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

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

/* Scroll Mouse Animation */
.scroll-mouse-about {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    position: relative;
}

.scroll-wheel-about {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAbout 2s infinite ease-in-out;
}

@keyframes scrollWheelAbout {
    0%, 100% { 
        opacity: 0.4; 
        transform: translateX(-50%) translateY(0);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(12px);
    }
}

/* Story Section */
.our-story-section {
    position: relative;
}

.our-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 50%;
    background: radial-gradient(circle, rgba(179, 69, 18, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Premium Timeline Section */
.timeline-section {
    position: relative;
    overflow: hidden; /* Both X and Y overflow control */
}

/* Modern Timeline Milestones */
.timeline-milestone {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-milestone.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Year Badges */
.timeline-year-badge {
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.timeline-year-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.timeline-year-badge:hover::before {
    left: 100%;
}

/* Milestone Cards - Premium Glass Effect */
.milestone-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 10;
}

.milestone-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
}

/* Icon Containers */
.milestone-card .w-16 {
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.milestone-card .w-16::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.milestone-card:hover .w-16::after {
    width: 120%;
    height: 120%;
}

/* Tag Pills */
.milestone-card span {
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.milestone-card:hover span {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Timeline Stagger Animation */
.timeline-milestone:nth-child(1) { transition-delay: 0.1s; }
.timeline-milestone:nth-child(2) { transition-delay: 0.2s; }
.timeline-milestone:nth-child(3) { transition-delay: 0.3s; }
.timeline-milestone:nth-child(4) { transition-delay: 0.4s; }
.timeline-milestone:nth-child(5) { transition-delay: 0.5s; }

/* Mobile Timeline Responsive */
@media (max-width: 1024px) {
    .timeline-milestone .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .timeline-milestone .lg\\:col-span-3,
    .timeline-milestone .lg\\:col-span-9 {
        grid-column: 1;
    }
    
    .timeline-milestone .order-1,
    .timeline-milestone .order-2 {
        order: 0;
    }
    
    .timeline-year-badge {
        margin-bottom: 1rem;
    }
    
    .milestone-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .timeline-section {
        padding: 3rem 0;
        overflow-x: hidden;
    }
    
    .timeline-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100vw;
    }
    
    .timeline-milestone {
        margin-bottom: 3rem;
    }
    
    .timeline-year-badge {
        padding: 1.5rem;
    }
    
    .timeline-year-badge .text-4xl {
        font-size: 2.5rem;
    }
    
    .milestone-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    .milestone-card h3 {
        font-size: 1.5rem;
    }
    
    .milestone-card p {
        font-size: 1rem;
    }
    
    .milestone-card .w-16 {
        width: 3rem;
        height: 3rem;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .about-hero .font-dancing-script {
        font-size: 3rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .timeline-section {
        padding: 3rem 0;
    }
    
    .timeline-section h2 {
        font-size: 2rem;
    }
    
    .timeline-year .text-6xl {
        font-size: 2.5rem;
    }
    
    .timeline-card {
        padding: 1rem;
    }
    
    .timeline-card h3 {
        font-size: 1.25rem;
    }
}

/* Floating Animation for Story Section */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float[style*="animation-delay: 2s"] {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

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

/* Quote Styling */
.prose blockquote {
    position: relative;
    background: rgba(179, 69, 18, 0.05);
    border-left-color: var(--primary);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.prose blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    opacity: 0.3;
}

.prose blockquote footer {
    margin-top: 1rem;
    font-style: normal;
}

/* Story Images Grid */
.our-story-section .grid.grid-cols-3 img {
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.our-story-section .grid.grid-cols-3 img:hover {
    transform: scale(1.1);
    filter: brightness(1) saturate(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Scroll Trigger Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Button Styles */
.scroll-to {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.scroll-to::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;
    z-index: -1;
}

.scroll-to:hover::before {
    left: 100%;
}

/* Parallax Effect */
@media (min-width: 769px) {
    .about-hero {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {
    .about-hero {
        background-attachment: scroll;
        min-height: 80vh;
    }
    
    .about-hero .container {
        padding-top: 2rem;
    }
}

/* Timeline Responsiveness Enhancements */
@media (max-width: 1024px) {
    .timeline-item .timeline-content {
        width: 45%;
    }
    
    .timeline-item .timeline-year {
        width: 45%;
    }
    
    .timeline-card {
        padding: 1.5rem;
    }
    
    .timeline-year .text-6xl {
        font-size: 4rem;
    }
}

/* Performance Optimizations */
.timeline-card,
.timeline-dot,
.timeline-year {
    will-change: transform;
    backface-visibility: hidden;
}

/* Loading States */
.timeline-item.loading .timeline-card {
    opacity: 0.5;
    transform: scale(0.9);
}

/* Custom Scrollbar for About Page */
.about-hero::-webkit-scrollbar,
.timeline-section::-webkit-scrollbar {
    width: 8px;
}

.about-hero::-webkit-scrollbar-track,
.timeline-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.about-hero::-webkit-scrollbar-thumb,
.timeline-section::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Accessibility Enhancements */
.timeline-item:focus-within .timeline-card {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.scroll-to:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
}

/* Premium Values Section */
.values-section {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(179, 69, 18, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(75, 103, 88, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Premium Mission & Vision Cards */
.mission-card, .vision-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mission-card:hover, .vision-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
}

/* Icon Enhancement */
.mission-card .w-20, .vision-card .w-20 {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.mission-card:hover .w-20, .vision-card:hover .w-20 {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Premium Value Cards */
.value-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
}

.value-card .w-16 {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.value-card:hover .w-16 {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Premium Achievements Section */
.achievements-section {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f9ff 100%);
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(75, 103, 88, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(179, 69, 18, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
}

.achievement-card .w-20 {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.achievement-card:hover .w-20 {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Achievement Counter Animation */
.achievement-counter {
    transition: all 0.3s ease;
    display: inline-block;
}

.achievement-counter.counting {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(179, 69, 18, 0.3);
    animation: countBounce 0.6s ease-out;
}

@keyframes countBounce {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Enhanced Achievement Cards */
.achievement-card .relative.z-10 {
    position: relative;
    z-index: 10;
}

.achievement-card .absolute {
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.achievement-card:hover .absolute {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Final CTA Section */
.final-cta-section {
    position: relative;
}

.contact-quick-card {
    transition: all 0.3s ease;
    text-align: center;
}

.contact-quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-quick-card i {
    transition: all 0.3s ease;
}

.contact-quick-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .values-section {
        padding: 3rem 0;
    }
    
    .mission-card, .vision-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .mission-card h3, .vision-card h3 {
        font-size: 1.5rem;
    }
    
    .mission-card p, .vision-card p {
        font-size: 1rem;
    }
    
    .value-card {
        margin-bottom: 1rem;
    }
    
    .achievement-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    .achievement-card .text-4xl {
        font-size: 2.5rem;
    }
    
    .final-cta-section {
        padding: 3rem 0;
    }
    
    .final-cta-section h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .final-cta-section .flex-col {
        gap: 1rem;
    }
    
    .final-cta-section button,
    .final-cta-section a {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .contact-quick-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .values-section .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .achievements-section .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .final-cta-section .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Enhanced Value Cards */
.value-card .w-10 {
    transition: all 0.3s ease;
}

.value-card:hover .w-10 {
    width: 60px;
    background: linear-gradient(45deg, currentColor, rgba(255,255,255,0.2));
}

/* Shimmer Effect for CTA Buttons */
.group .absolute.inset-0 {
    transition: transform 1s ease;
}

/* Contact Cards Enhancement */
.contact-quick-card .w-20 {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-quick-card .w-20::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.contact-quick-card:hover .w-20::after {
    width: 100%;
    height: 100%;
}

/* Print Styles */
@media print {
    .about-hero {
        background: white;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .timeline-line {
        background: #333;
    }
    
    .timeline-dot {
        background: #333;
    }
    
    .animate-on-scroll,
    .timeline-item {
        opacity: 1;
        transform: none;
    }
}
