/* ============================================================
   AY GROUP - Profesyonel Kurumsal Web Sitesi Stilleri
   Renk Paleti: Lacivert (#0B1B3D, #162F65), Altın Sarısı (#C5A869, #D4AF37), Beyaz (#FFFFFF)
   Tipografi: Montserrat & Inter
   ============================================================ */

:root {
    --primary: #0B1B3D;
    --primary-light: #162F65;
    --primary-dark: #071228;
    --accent: #C5A869;
    --accent-light: #DFCA9B;
    --accent-dark: #9E8246;
    --dark: #1E293B;
    --light-bg: #F8FAFC;
    --border-color: #E2E8F0;
    --text-muted: #64748B;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 4px rgba(11, 27, 61, 0.05);
    --shadow-md: 0 10px 25px rgba(11, 27, 61, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 27, 61, 0.12);
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

/* ------------------------------------------------------------
   Top Bar
   ------------------------------------------------------------ */
.top-bar {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.875rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(197, 168, 105, 0.2);
}

.top-bar a {
    color: #e2e8f0;
}

.top-bar a:hover {
    color: var(--accent-light);
}

.top-bar i {
    color: var(--accent);
}

/* ------------------------------------------------------------
   Navbar
   ------------------------------------------------------------ */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
    transition: var(--transition);
}

.navbar-custom.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    height: 52px;
    width: auto;
    transition: var(--transition);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary) !important;
    padding: 8px 14px !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2.5px;
    background-color: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: center;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-dark) !important;
}

/* Highlighted Nav Item for Hospital Canteen */
.nav-link-canteen {
    background: rgba(197, 168, 105, 0.12);
    border-radius: 6px;
    border: 1px solid rgba(197, 168, 105, 0.3);
    color: var(--primary) !important;
}

.nav-link-canteen:hover {
    background: var(--accent);
    color: #ffffff !important;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn-gold {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(197, 168, 105, 0.35);
    transition: var(--transition);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 168, 105, 0.5);
}

.btn-navy {
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    border: 2px solid var(--primary);
    padding: 12px 28px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-navy:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-gold {
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    border: 2px solid var(--accent);
    padding: 11px 26px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------ */
.hero-section {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: #ffffff;
    padding: 100px 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 27, 61, 0.94) 0%, rgba(22, 47, 101, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-gold {
    background-color: rgba(197, 168, 105, 0.2);
    color: var(--accent-light);
    border: 1px solid var(--accent);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.2rem;
    color: #e2e8f0;
    max-width: 680px;
    margin-bottom: 35px;
    font-weight: 400;
}

/* ------------------------------------------------------------
   Stats Strip
   ------------------------------------------------------------ */
.stats-strip {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding: 30px 20px;
    border-top: 4px solid var(--accent);
}

.stat-item {
    text-align: center;
    padding: 10px 15px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ------------------------------------------------------------
   Section Headers
   ------------------------------------------------------------ */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3.5px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ------------------------------------------------------------
   Service Cards
   ------------------------------------------------------------ */
.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--primary-light);
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-icon-badge {
    position: absolute;
    bottom: -22px;
    right: 25px;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 3px solid #ffffff;
    z-index: 2;
}

.service-body {
    padding: 35px 25px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
    color: var(--accent);
}

/* ------------------------------------------------------------
   Hospital Canteen Featured Section
   ------------------------------------------------------------ */
.canteen-feature-section {
    background-color: var(--primary);
    color: #ffffff;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.canteen-feature-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 168, 105, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.canteen-feature-section h2,
.canteen-feature-section h3 {
    color: #ffffff;
}

.canteen-feature-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 168, 105, 0.3);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.canteen-feature-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateX(5px);
}

.canteen-feature-box i {
    font-size: 1.8rem;
    color: var(--accent);
}

.canteen-img-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(197, 168, 105, 0.4);
}

.canteen-img-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------------------------------
   Why Choose Us
   ------------------------------------------------------------ */
.why-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.why-icon {
    width: 65px;
    height: 65px;
    background: rgba(197, 168, 105, 0.12);
    color: var(--accent-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: #ffffff;
}

/* ------------------------------------------------------------
   Gallery
   ------------------------------------------------------------ */
.gallery-filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    margin: 4px;
    transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    background-color: var(--primary-light);
    height: 260px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 27, 61, 0.9) 0%, rgba(11, 27, 61, 0.2) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: var(--transition);
    color: #ffffff;
}

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

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

/* ------------------------------------------------------------
   Contact Section
   ------------------------------------------------------------ */
.contact-info-card {
    background: var(--primary);
    color: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    height: 100%;
    box-shadow: var(--shadow-md);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(197, 168, 105, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.form-control, .form-select {
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 168, 105, 0.25);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
    background-color: var(--primary-dark);
    color: #94a3b8;
    padding-top: 70px;
    border-top: 4px solid var(--accent);
}

.site-footer h4, .site-footer h5 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    margin-right: 8px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 20px 0;
    margin-top: 60px;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ------------------------------------------------------------
   Floating WhatsApp Button
   ------------------------------------------------------------ */
.whatsapp-float {
    position: fixed;
    width: 58px;
    height: 58px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    color: #ffffff;
    transform: scale(1.1);
}

/* ------------------------------------------------------------
   Page Header (Inner Pages)
   ------------------------------------------------------------ */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 70px 0 50px;
    color: #ffffff;
    position: relative;
    border-bottom: 3px solid var(--accent);
}

.page-banner h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--accent-light);
}

.breadcrumb-item.active {
    color: #cbd5e1;
}

/* ------------------------------------------------------------
   Responsive Tweaks
   ------------------------------------------------------------ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .stats-strip {
        margin-top: 0;
        margin-bottom: 30px;
    }
    .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: var(--shadow-md);
        margin-top: 12px;
    }
}

