/**
 * Makarnam Penne - Ana CSS Dosyası
 * Modern, Premium İtalyan Restoran Tasarımı
 */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Ana Renkler - Admin panelden değiştirilebilir */
    --color-primary: #0a3d2e;
    --color-primary-dark: #072a1f;
    --color-primary-light: #0d5a45;
    --color-secondary: #d4a024;
    --color-secondary-dark: #b8891f;
    --color-secondary-light: #e6b84a;

    /* Nötr Renkler */
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #eeeeee;
    --color-gray-300: #e0e0e0;
    --color-gray-400: #bdbdbd;
    --color-gray-500: #9e9e9e;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #212121;

    /* Arka Plan */
    --bg-light: #faf9f7;
    --bg-muted: #f3f1ed;
    --bg-card: #ffffff;

    /* Metin */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #757575;
    --text-light: #9e9e9e;

    /* Durum Renkleri */
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #3b82f6;

    /* Tipografi */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Boyutlar */
    --container-max: 1280px;
    --header-height: 80px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 9999px;

    /* Gölgeler */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-card: 0 4px 20px -4px rgba(30, 30, 30, 0.1);
    --shadow-elegant: 0 10px 40px -10px rgba(30, 30, 30, 0.15);

    /* Geçişler */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   RESET & BASE
   ========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================
   CONTAINER
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-elegant);
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
    transition: color var(--transition);
}

.navbar.scrolled .logo {
    color: var(--color-primary);
}

.logo span {
    color: var(--color-secondary);
}

.logo img {
    height: 55px;
    width: auto;
}

@media (min-width: 992px) {
    .logo img {
        height: 90px !important;
        max-height: none !important;
    }
}

/* Nav Menu */
.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 992px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
    position: relative;
}

.navbar.scrolled .nav-menu a {
    color: var(--text-secondary);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-secondary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-right .btn {
    display: none;
}

@media (min-width: 992px) {
    .nav-right .btn {
        display: inline-flex;
    }
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-primary);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-primary);
    padding: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Navbar menu açıkken arka plan */
.navbar.menu-open {
    background: var(--color-primary) !important;
    box-shadow: none !important;
}

.navbar.menu-open .logo {
    color: var(--color-white) !important;
}

.navbar.menu-open .logo span {
    color: var(--color-secondary) !important;
}

.navbar.menu-open .nav-toggle span {
    background: var(--color-white) !important;
    width: 30px;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 1rem 2rem;
}

.mobile-menu ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu ul li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    padding: 1.1rem 0;
    transition: all var(--transition);
    position: relative;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--color-secondary);
    letter-spacing: 0.15em;
}

.mobile-menu .btn.btn-gold {
    margin-top: 1.5rem;
    padding: 0.85rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-radius: var(--border-radius-full);
    background: var(--color-secondary);
    color: var(--color-black);
    border: none;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-gold {
    background: var(--color-secondary);
    color: var(--color-black);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.btn-gold:hover {
    background: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    color: var(--color-black);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
    margin: 1.5rem auto;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent, rgba(26, 26, 26, 0.9));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    max-width: 800px;
}

.hero-label {
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    font-size: 3rem;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
    margin-top: 1rem;
}

.hero-buttons .btn {
    min-width: 160px;
    max-width: 220px;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
}

@media (max-width: 575px) {
    .hero-content {
        padding-top: 12vh;
    }

    .hero-buttons {
        margin-top: 4rem;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.8rem;
        min-width: 180px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 576px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* ==========================================
   PAGE HERO
   ========================================== */
.page-hero {
    padding: 8rem 0 4rem;
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.page-hero .section-label {
    color: var(--color-secondary);
}

.page-hero .section-title {
    color: var(--color-white);
    font-size: 3rem;
}

.page-hero .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-4px);
}

.card-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-secondary);
    color: var(--color-black);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius);
}

.card-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    font-weight: 700;
    border-radius: var(--border-radius);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

.card:hover .card-title {
    color: var(--color-secondary);
}

.card-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================
   GRID
   ========================================== */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 576px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================
   FORMS
   ========================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(10, 61, 46, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239e9e9e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

@media (min-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--color-secondary);
}

.footer-brand p {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--color-secondary);
    color: var(--color-black);
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-contact i {
    color: var(--color-secondary);
    margin-top: 0.2rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--color-secondary);
}

.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-hours li span:last-child {
    color: var(--color-white);
}

.footer-hours i {
    margin-right: 0.5rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-bottom: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-white {
    color: var(--color-white);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-muted {
    background-color: var(--bg-muted);
}

.bg-white {
    background-color: var(--color-white);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 2rem;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.hidden {
    display: none;
}

.visible {
    visibility: visible;
}

.invisible {
    visibility: hidden;
}

/* ==========================================
   ALERTS
   ========================================== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 1;
}

/* ==========================================
   CATEGORY FILTERS
   ========================================== */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius-full);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

/* ==========================================
   STATS
   ========================================== */
.stats {
    background: var(--color-primary);
    border-radius: var(--border-radius-xl);
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    color: var(--color-white);
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   ACCORDION (SSS)
   ========================================== */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: background var(--transition);
}

.accordion-header:hover {
    background: var(--bg-muted);
}

.accordion-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.accordion-icon {
    font-size: 1.25rem;
    color: var(--color-secondary);
    transition: transform var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ==========================================
   GALLERY / LIGHTBOX
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-overlay i {
    color: var(--color-white);
    font-size: 2rem;
}

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

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
    background: var(--color-secondary);
    padding: 3rem 0;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta-text h3 {
    font-size: 1.5rem;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

.cta-banner .btn {
    background: var(--bg-card);
    color: var(--color-primary);
    border-color: var(--bg-card);
}

.cta-banner .btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ==========================================
   TEAM
   ========================================== */
.team-card {
    text-align: center;
}

.team-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ==========================================
   CONTACT INFO
   ========================================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-muted);
    border-radius: var(--border-radius-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 160, 36, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.contact-details h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Contact Form Card */
.contact-form-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-elegant);
}

.contact-form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Google Map */
.map-container {
    height: 400px;
    background: var(--bg-muted);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   SIGNATURE DISH
   ========================================== */
.signature-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .signature-section {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.signature-img-wrapper {
    position: relative;
}

.signature-img-wrapper::before {
    content: '';
    position: absolute;
    inset: -1rem;
    background: rgba(212, 160, 36, 0.2);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.signature-img {
    position: relative;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-elegant);
}

@media (min-width: 992px) {
    .signature-img {
        height: 500px;
    }
}

.signature-badge {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-elegant);
}

.signature-badge .stars {
    display: flex;
    gap: 0.25rem;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.signature-badge p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0;
}

.signature-content h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .signature-content h2 {
        font-size: 3rem;
    }
}

.signature-content>p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 500;
    transition: color var(--transition);
}

.read-more:hover {
    color: var(--color-secondary);
}

.read-more i {
    transition: transform var(--transition);
}

.read-more:hover i {
    transform: translateX(4px);
}

/* ==========================================
   STORY PREVIEW
   ========================================== */
.story-preview {
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.story-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: rgba(212, 160, 36, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.story-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: rgba(212, 160, 36, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .story-content h2 {
        font-size: 3.5rem;
    }
}

.story-content h2 span {
    color: var(--color-secondary);
    font-style: italic;
}

.story-content>p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    line-height: 1.8;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.story-stat {
    text-align: center;
}

.story-stat-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.story-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.story-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.story-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    opacity: 0.9;
}

.story-images img:first-child {
    margin-top: 3rem;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */
@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-hero .section-title {
        font-size: 2rem;
    }
}