:root {
    --primary: #dc3545;
    --primary-dark: #b02a37;
    --secondary: #222222;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border: #dee2e6;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--secondary);
    background: var(--white);
    line-height: 1.6;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVBAR ========== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 0;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.navbar-brand img {
    height: 70px;
    width: auto;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.navbar-menu a {
    display: block;
    padding: 8px 18px;
    color: var(--secondary);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    background: var(--primary);
    color: var(--white);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
    padding: 8px;
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('http://caddebufe.com.tr/heronew.png') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: var(--primary-dark);
}

/* ========== SECTION ========== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ========== CATEGORY CARDS ========== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.category-card h3 {
    padding: 14px 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
}

.category-card:hover h3 {
    color: var(--primary);
}

/* ========== PRODUCT CARDS ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card-body {
    padding: 18px 20px;
}

.product-card-category {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.product-card-desc {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.product-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

/* ========== PRODUCT LIST (menu style) ========== */
.menu-section {
    margin-bottom: 40px;
}

.menu-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
    gap: 16px;
    transition: var(--transition);
}

.menu-item:hover {
    background: var(--light);
    padding-left: 8px;
    border-radius: 8px;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.menu-item-info {
    flex: 1;
}

.menu-item-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary);
}

.menu-item-desc {
    font-size: 0.85rem;
    color: var(--gray);
}

.menu-item-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

/* ========== FILTER TABS ========== */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-tab {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--border);
    color: var(--secondary);
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ========== ABOUT ========== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 16px;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--secondary);
}

.contact-detail p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-detail a {
    color: var(--primary);
    font-weight: 600;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* ========== INFO BAR ========== */
.info-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 20px 0;
}

.info-bar .container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.info-bar-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.footer-links {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.page-header p {
    opacity: 0.85;
    margin-top: 8px;
    font-size: 1.1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }

    .navbar-menu.open {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .hero { padding: 60px 0 80px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }

    .section { padding: 50px 0; }
    .section-title h2 { font-size: 1.7rem; }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image { order: -1; }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-bar .container {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .page-header h1 { font-size: 1.8rem; }
}

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

    .filter-tabs {
        gap: 6px;
    }

    .filter-tab {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}
