/* assets/css/style.css */
:root {
    --bs-primary: #008080;
    --bs-primary-rgb: 0, 128, 128;
    --bs-secondary: #0B2545;
    --bs-secondary-rgb: 11, 37, 69;
    --bs-warning: #fca311;
    --bs-warning-rgb: 252, 163, 17;
    --bs-font-sans-serif: 'Outfit', sans-serif;
}

body {
    font-family: var(--bs-font-sans-serif);
    color: #333;
    -webkit-font-smoothing: antialiased;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}


/* Customizing Bootstrap Primary buttons to our Orange CTA color globally for better conversion */
.btn-primary { 
    background-color: var(--bs-warning); 
    border-color: var(--bs-warning); 
    color: #fff;
}
.btn-primary:hover {
    background-color: #e5940e;
    border-color: #e5940e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(252, 163, 17, 0.3);
    color: #fff;
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 128, 128, 0.2);
}

.text-success { color: #2E8B57 !important; }

/* Utilities */
.tracking-wider { letter-spacing: 0.1em; }
.object-cover { object-fit: cover; }
.text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.text-shadow-sm { text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.text-shadow-lg { text-shadow: 0 4px 10px rgba(0,0,0,0.6); }
.section-padding { padding: 80px 0; }
@media (min-width: 992px) {
    .section-padding { padding: 120px 0; }
}

/* Micro-animations */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.backdrop-blur {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.backdrop-blur:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hover-white:hover {
    color: #fff !important;
}

/* Navbar */
.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.navbar-brand img {
    height: 140px;
    transition: height 0.4s ease;
}
.navbar.scrolled .navbar-brand img {
    height: 90px;
}
@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 100px;
    }
    .navbar.scrolled .navbar-brand img {
        height: 70px;
    }
}
.navbar-spacer {
    height: 170px;
    transition: height 0.4s ease;
}
@media (max-width: 991.98px) {
    .navbar-spacer {
        height: 230px;
    }
}
.nav-link {
    color: var(--bs-secondary) !important;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--bs-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* Mobile Navbar Adjustments */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: none !important;
    }
    
    #navbarResponsive.collapse {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    #navbarResponsive .navbar-nav {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding-bottom: 5px;
        /* Hide scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    #navbarResponsive .navbar-nav::-webkit-scrollbar {
        display: none;
    }

    #navbarResponsive .nav-item {
        margin-bottom: 0;
    }

    #navbarResponsive .nav-link {
        font-size: 0.85rem !important;
        padding: 0.5rem 0 !important;
        white-space: nowrap;
    }

    .nav-link::after {
        left: 0;
        transform: none;
    }
    
    #navbarResponsive > .d-flex {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px !important;
        border-top: 1px solid #eee;
        padding-top: 15px;
    }
}

/* WhatsApp Sticky */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-sticky:hover {
    color: white;
    transform: scale(1.1);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Timeline/Program on Detail Page */
.timeline-item:last-child {
    border-left: none !important;
}
.timeline-item::after {
    display: none;
}

/* Google Business Profile Location Card */
.gbc-card {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    max-width: 560px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gbc-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.gbc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4px;
    height: 260px;
    background-color: #dadce0;
}
.gbc-left {
    position: relative;
    grid-row: span 2;
    overflow: hidden;
}
.gbc-right-top {
    position: relative;
    overflow: hidden;
    height: 128px;
}
.gbc-right-bottom {
    position: relative;
    overflow: hidden;
    height: 128px;
}
.gbc-left img, .gbc-right-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gbc-left:hover img, .gbc-right-bottom:hover img {
    transform: scale(1.05);
}
.gbc-badge {
    position: absolute;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.gbc-badge:hover {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    transform: translateY(-1px);
}
.gbc-badge-left {
    bottom: 12px;
    left: 12px;
}
.gbc-badge-right {
    bottom: 12px;
    right: 12px;
}
.gbc-info {
    padding: 20px 24px;
}
.gbc-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.gbc-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #202124;
    margin-bottom: 2px;
}
.gbc-category {
    font-size: 0.85rem;
    color: #70757a;
    margin-bottom: 8px;
}
.gbc-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.gbc-stars {
    color: #fbbc04;
    display: flex;
    gap: 2px;
}
.gbc-rating-num {
    font-weight: 600;
    color: #202124;
}
.gbc-reviews-count {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}
.gbc-reviews-count:hover {
    text-decoration: underline;
}
.gbc-menu-dots {
    color: #70757a;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.gbc-menu-dots:hover {
    background-color: #f1f3f4;
}
.gbc-actions {
    display: flex;
    justify-content: space-around;
    padding: 12px 10px;
    border-top: 1px solid #e8eaed;
    background-color: #fafafa;
}
.gbc-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    color: #1a73e8 !important;
    font-size: 0.75rem;
    font-weight: 500;
    gap: 6px;
    flex: 1;
    transition: color 0.2s;
}
.gbc-action-btn:hover {
    color: #1557b0 !important;
}
.gbc-action-icon {
    width: 38px;
    height: 38px;
    border: 1px solid #dadce0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    background-color: #fff;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.gbc-action-btn:hover .gbc-action-icon {
    background-color: #f4f8fe;
    border-color: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(26, 115, 232, 0.15);
}

/* Custom interactive active state for "Save" */
.gbc-action-btn.saved .gbc-action-icon {
    background-color: #e8f0fe;
    border-color: #1a73e8;
    color: #1a73e8;
}

/* Modal for Fotoğraf Ekle / Add Photo */
.gbc-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gbc-modal-overlay.show {
    display: flex;
    opacity: 1;
}
.gbc-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.gbc-modal-overlay.show .gbc-modal-content {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .gbc-grid {
        height: 200px;
    }
    .gbc-right-top, .gbc-right-bottom {
        height: 98px;
    }
    .gbc-info {
        padding: 15px 18px;
    }
    .gbc-title {
        font-size: 1.15rem;
    }
}

/* Address Link Hover Styles */
.gbc-address-link {
    transition: color 0.2s ease, text-decoration 0.2s ease;
}
.gbc-address-link:hover {
    color: var(--bs-primary) !important;
    text-decoration: underline !important;
}

/* Expandable Video & Homepage Hero Redesign */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}
.hero-video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    animation: float-video 6s ease-in-out infinite;
}
.hero-video-card:hover {
    transform: scale(1.03) translateY(-8px) rotate(0.5deg);
    border-color: var(--bs-warning);
    box-shadow: 0 30px 60px rgba(252, 163, 17, 0.25);
}
.hero-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 37, 69, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.hero-video-card:hover .hero-video-overlay {
    background: rgba(11, 37, 69, 0.1);
}
.hero-video-play-btn {
    width: 68px;
    height: 68px;
    background: rgba(252, 163, 17, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 0 0 0 rgba(252, 163, 17, 0.4);
    animation: pulse-play 2s infinite;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.hero-video-card:hover .hero-video-play-btn {
    transform: scale(1.1);
    background: rgba(252, 163, 17, 1);
}

@keyframes float-video {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-play {
    0% { box-shadow: 0 0 0 0 rgba(252, 163, 17, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(252, 163, 17, 0); }
    100% { box-shadow: 0 0 0 0 rgba(252, 163, 17, 0); }
}

/* Video Lightbox Player Overlay */
.video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 37, 69, 0.97);
    backdrop-filter: blur(12px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-lightbox.active {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.video-lightbox.active .lightbox-content {
    transform: scale(1);
}
.lightbox-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.lightbox-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    outline: none;
}
.lightbox-close-btn:hover {
    color: var(--bs-warning);
    transform: scale(1.1) rotate(90deg);
}

@media (max-width: 991px) {
    .hero-video-card {
        max-width: 400px;
        margin-top: 30px;
        animation: float-video-mobile 5s ease-in-out infinite;
    }
    @keyframes float-video-mobile {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-8px); }
        100% { transform: translateY(0px); }
    }
}

/* Designer signature and heart-pulse animations */
.designer-signature {
    font-family: 'Great Vibes', cursive;
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.designer-signature:hover {
    color: var(--bs-warning) !important;
    text-shadow: 0 0 8px rgba(252, 163, 17, 0.5);
}
.heart-pulse {
    display: inline-block;
    color: #e63946;
    animation: heartPulse 1.5s infinite ease-in-out;
}
@keyframes heartPulse {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

/* Custom modern button for memory sharing */
.btn-modern-share {
    background: linear-gradient(135deg, #FF9900 0%, #FF6600 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.btn-modern-share::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: all 0.6s ease;
}

.btn-modern-share:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 25px rgba(255, 102, 0, 0.5);
    background: linear-gradient(135deg, #FFa500 0%, #FF7700 100%);
}

.btn-modern-share:hover::before {
    left: 100%;
}

.btn-modern-share i {
    font-size: 1.3rem;
    margin-right: 8px;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}