/*
 * Chef Fishman - Professional CSS Stylesheet
 * Version: 1.0
 */

/* === ROOT VARIABLES === */
:root {
    /* Colors - CHEF FISHMAN BRAND (Logo Renkleri) */
    --primary-color: #1a2332;      /* Lacivert - Ana renk */
    --primary-dark: #0f1419;       /* Koyu lacivert */
    --primary-light: #2d3c52;      /* Açık lacivert */
    --secondary-color: #b8945f;    /* Altın - Vurgu rengi */
    --accent-color: #d4af6a;       /* Açık altın */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e0e6ed;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    transition: var(--transition);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* === BUTTONS === */
.btn {
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-light:hover {
    background: var(--bg-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

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

/* === TOP BAR === */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    font-size: 0.875rem;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* === NAVIGATION === */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.5rem 1.5rem !important;
    position: relative;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 70%;
}

.nav-link.active {
    color: var(--primary-color);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 77, 153, 0.7));
}

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

.hero-title {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.min-vh-75 {
    min-height: 75vh;
}

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

/* === CATEGORY CARDS === */
.category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.category-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-content {
    padding: 1.5rem;
}

.category-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.category-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* === PRODUCT CARDS === */
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.product-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* === RECIPE CARDS === */
.recipe-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.recipe-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.recipe-time {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.recipe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.recipe-card:hover .recipe-overlay {
    opacity: 1;
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-title {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.recipe-meta {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* === RECIPE DETAIL === */
.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 30px;
}

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

.ingredients-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
}

.instructions-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* === LOCATION CARDS === */
.location-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 2rem;
}

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

.location-name {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.location-icon {
    width: 60px;
    min-width: 60px;
}

.detail-item {
    line-height: 1.8;
}

/* === INFO & FEATURE SECTIONS === */
.info-card,
.tip-card {
    transition: var(--transition);
}

.info-card:hover,
.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon,
.tip-icon,
.feature-icon {
    display: inline-block;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

/* === ABOUT SECTION === */
.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* === FOOTER === */
.footer {
    background: #1a1a1a;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer a {
    transition: var(--transition);
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.text-white-50 {
    color: rgba(255,255,255,0.5) !important;
}

.bg-white-50 {
    background-color: rgba(255,255,255,0.1) !important;
}

/* === FILTER BUTTONS === */
.category-filter .btn {
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* === ONLINE ORDER CARD === */
.online-order-card {
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.online-order-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

/* === LANGUAGE SWITCHER === */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.875rem;
    }
}

/* === UTILITY CLASSES === */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

/* === ANIMATIONS === */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* === PRODUCTS TABLE (ULTRA PROFESSIONAL) === */
.products-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.products-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.products-table thead th {
    border: none;
    padding: 1.2rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.products-table tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.products-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.05), rgba(255,255,255,1));
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0,102,204,0.1);
}

.products-table tbody td {
    padding: 1.5rem 1rem;
    vertical-align: middle;
}

.product-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0,102,204,0.1), rgba(0,102,204,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-row:hover .product-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: rotate(360deg) scale(1.1);
}

.product-row:hover .product-icon i {
    color: white !important;
}

.price-tag {
    background: linear-gradient(135deg, rgba(0,102,204,0.05), rgba(0,102,204,0.1));
    padding: 0.8rem;
    border-radius: 10px;
    display: inline-block;
}

.product-row:hover .price-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.product-row:hover .price-tag span,
.product-row:hover .price-tag small {
    color: white !important;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
