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

:root {
    --logo-bg: #f7f3e9;
    --primary: #0f2744;
    --secondary: #1a3a5c;
    --accent: #b91c1c;
    --accent-hover: #991b1b;
    --text: #2d2d2d;
    --text-light: #6b7280;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(15, 39, 68, 0.1);
    --shadow-hover: 0 8px 30px rgba(15, 39, 68, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.header {
    background-color: var(--logo-bg);
    padding: 16px 0 28px;
    position: relative;
    border-bottom: 3px solid var(--primary);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    gap: 12px;
}

.social-icons-header {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons-header .social-icon {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 8px rgba(15, 39, 68, 0.1);
}

.social-icons-header .social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 39, 68, 0.18);
}

.social-facebook {
    color: #1877f2;
}

.social-facebook:hover {
    background-color: #1877f2;
    color: #ffffff;
}

.social-icons-header .social-facebook:hover {
    background-color: #1877f2;
    color: #ffffff;
}

.social-instagram {
    color: #e1306c;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
}

.social-icons-header .social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
}

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

.footer-info .social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-info .social-facebook:hover {
    background-color: #1877f2;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-info .social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
    transform: translateY(-3px);
}

.map-wrapper {
    margin-top: 50px;
    text-align: center;
}

.map-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.map-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 4px solid var(--white);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.phone-link:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.phone-link svg {
    flex-shrink: 0;
}

.header-nav {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 26px;
    padding: 14px 0 18px;
}

.main-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.4);
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    border-radius: 6px;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.main-menu a:hover {
    color: var(--accent);
    background-color: rgba(185, 28, 28, 0.08);
    transform: translateY(-1px);
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 65%;
}

.main-menu a.active {
    color: var(--accent);
    background-color: rgba(185, 28, 28, 0.05);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    z-index: 2;
}

.logo-container a {
    display: inline-block;
    line-height: 0;
    padding: 4px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.logo-container a:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.logo {
    max-height: 195px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(15, 39, 68, 0.12));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/etliekmek-firina-veriliyor.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 39, 68, 0.85) 0%, rgba(26, 58, 92, 0.75) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 80px 20px;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn svg {
    flex-shrink: 0;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(185, 28, 28, 0.35);
}

.btn-block {
    width: 100%;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--logo-bg);
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.about-text .signature {
    margin-top: 28px;
    margin-bottom: 32px;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--logo-bg) 0%, #fff 100%);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    color: var(--primary);
    line-height: 1.7;
}

.about-text .signature strong {
    font-size: 18px;
    color: var(--accent);
    letter-spacing: 0.3px;
}

.about-text .signature em {
    display: block;
    margin-top: 6px;
    font-style: italic;
    font-weight: 500;
    color: var(--secondary);
    font-size: 15px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px 15px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.feature-item h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.menu-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

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

.menu-item h3 {
    padding: 20px 20px 10px;
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
}

.menu-item p {
    padding: 0 20px 24px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 39, 68, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-centered {
    grid-template-columns: 1fr;
    justify-items: center;
}

.contact-wide {
    max-width: 700px;
    width: 100%;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.contact-card {
    background-color: var(--white);
    padding: 28px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background-color: var(--logo-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background-color: var(--primary);
    color: var(--white);
}

.contact-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
}

.contact-card a,
.contact-card p {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

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

.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img {
    max-height: 120px;
    width: auto;
    border-radius: 12px;
}

.footer-info p {
    margin-bottom: 8px;
    opacity: 0.9;
    font-size: 15px;
}

.footer-info strong {
    font-size: 18px;
}

.footer-info a {
    color: #fbbf24;
    font-weight: 600;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 14px;
    opacity: 0.7;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 2000;
    font-weight: 500;
    transition: transform 0.4s ease;
    text-align: center;
    max-width: 90%;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background-color: #16a34a;
}

.toast.error {
    background-color: var(--accent);
}

@media (max-width: 968px) {
    .main-menu {
        gap: 8px;
        padding: 8px 12px;
    }

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

    .about-image img {
        height: 300px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .logo {
        max-height: 170px;
    }

    .map-container iframe {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column-reverse;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .logo {
        max-height: 150px;
    }

    .main-menu {
        gap: 6px;
        padding: 7px 10px;
    }

    .main-menu a {
        padding: 10px 16px;
        font-size: 14px;
    }

    .hero {
        min-height: 400px;
    }

    .hero-content {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .contact-grid {
        gap: 30px;
    }

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

    .contact-card {
        padding: 22px;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
    }

    .contact-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-wide {
        max-width: 100%;
    }

    .map-wrapper {
        margin-top: 30px;
    }

    .map-title {
        font-size: 20px;
    }

    .map-container iframe {
        height: 320px;
    }

    .social-icons-footer {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        max-height: 125px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .main-menu {
        gap: 4px;
        padding: 6px 8px;
    }

    .main-menu a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }

    .about-text h3 {
        font-size: 22px;
    }

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

    .modal-close {
        font-size: 32px;
        top: 15px;
        right: 20px;
    }

    .contact-grid {
        gap: 16px;
    }

    .contact-info {
        gap: 12px;
    }

    .contact-card {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .contact-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 12px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-card h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .contact-card a,
    .contact-card p {
        font-size: 14px;
    }

    .whatsapp-float {
        width: 52px !important;
        height: 52px !important;
        bottom: 16px !important;
        right: 16px !important;
    }

    .whatsapp-float svg {
        width: 26px !important;
        height: 26px !important;
    }

    .map-container iframe {
        height: 260px;
    }

    .map-title {
        font-size: 18px;
    }

    .social-icon {
        width: 34px;
        height: 34px;
    }

    .phone-link {
        padding: 7px 14px;
        font-size: 14px;
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
