/* Custom Styles for Deutscher Asaf Bey Döner Website */

:root {
    --primary-red: #dc3545;
    --primary-green: #28a745;
    --dark-bg: #212529;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 76px; /* Navbar height */
}

/* Navigation */
.navbar {
    background-color: var(--dark-bg) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    max-width: calc(100% - 60px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.brand-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
}

@media (max-width: 991px) {
    .brand-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .brand-text {
        font-size: 0.85rem;
    }
    
    .navbar-brand {
        flex-wrap: nowrap;
    }
    
    .navbar-brand img {
        height: 40px !important;
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-red) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-red) 0%, #c82333 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -76px; /* Navbar height'i telafi et */
    padding-top: 76px; /* İçeriğin navbar altında görünmesi için */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container img,
.hero-image {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-image-container img:hover,
.hero-image:hover {
    transform: scale(1.05);
}

.phone-badge {
    background: rgba(255,255,255,0.2);
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.phone-badge a {
    text-decoration: none;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #c82333;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.btn-outline-light:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Section Titles */
.section-title {
    font-weight: 700;
    color: var(--dark-bg);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-green));
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    transition: transform 0.5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, #c82333 100%);
    margin-top: -76px; /* Navbar height'i telafi et */
    padding-top: calc(76px + 3rem); /* Navbar + padding */
    padding-bottom: 3rem; /* Alt padding */
}

/* Product Cards */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.product-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover img {
    transform: scale(1.1);
}

/* Contact Cards */
.contact-card {
    border-left: 4px solid var(--primary-red);
}

.contact-icon {
    min-width: 50px;
}

.quick-action-card {
    transition: transform 0.3s;
}

.quick-action-card:hover {
    transform: translateY(-10px);
}

/* Map Container */
.map-container {
    border: 3px solid var(--primary-red);
}

/* Footer */
footer {
    background-color: var(--dark-bg) !important;
}

footer a {
    transition: color 0.3s, transform 0.3s;
}

footer a:hover {
    color: var(--primary-red) !important;
    transform: translateX(5px);
}

footer .text-white-50 {
    transition: color 0.3s;
}

footer .text-white-50:hover {
    color: #fff !important;
}

.social-links a {
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Value Cards */
.value-card {
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px 0;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .phone-badge {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .map-container iframe {
        height: 400px;
    }
    
    .gallery-item {
        height: 250px;
        margin-bottom: 1rem;
    }
    
    .hero-image-container img,
    .hero-image {
        height: 350px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        display: block;
    }
    
    .hero-buttons .btn + .btn {
        margin-left: 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c82333;
}

