/* ==========================================================================
   Premium Design System - Sultangazi Bay Bayan Terzisi
   ========================================================================== */

:root {
    --color-bg: #0b0b0d;
    --color-surface: #121216;
    --color-surface-card: rgba(22, 22, 28, 0.6);
    --color-primary: #c5a880;
    --color-primary-hover: #e2ccab;
    --color-text: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-border: rgba(197, 168, 128, 0.15);
    --color-border-hover: rgba(197, 168, 128, 0.35);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(18, 18, 22, 0.7);
    --glass-blur: blur(12px);
}

/* Reset & Core Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(197, 168, 128, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(197, 168, 128, 0.02) 0px, transparent 50%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-text);
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
    section {
        padding: 120px 0;
    }
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 70px;
    }
}

.section-header span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 42px;
    }
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    padding: 10px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::after {
    width: 100%;
}

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

.nav-link.active::after {
    width: 100%;
}

/* Header Contact Button */
.header-cta {
    display: none;
}

@media (min-width: 992px) {
    .header-cta {
        display: block;
    }
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-premium:hover {
    color: #0b0b0d;
}

.btn-premium:hover::before {
    left: 0;
}

.btn-premium.filled {
    background: var(--color-primary);
    color: #0b0b0d;
}

.btn-premium.filled::before {
    background: var(--color-text);
}

.btn-premium.filled:hover {
    color: #0b0b0d;
    border-color: var(--color-text);
}

/* Mobile Nav Toggle */
.nav-toggle {
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 110;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 105;
    transform: translateY(-100%);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.mobile-menu-overlay.open {
    transform: translateY(0);
}

.mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-menu .nav-link {
    font-size: 20px;
    font-family: var(--font-heading);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

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

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 80px;
    }
}

.hero-content {
    animation: fadeInL 1s ease;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 16px;
    display: block;
}

.hero-title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

@media (min-width: 1200px) {
    .hero-title {
        font-size: 72px;
    }
}

.hero-description {
    color: var(--color-text-muted);
    font-size: 16px;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInR 1s ease;
}

.hero-image-container {
    position: relative;
    border: 1px solid var(--color-border);
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-img {
    border-radius: 8px;
    width: 100%;
    max-width: 440px;
    height: 480px;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.05);
}

@media (max-width: 991px) {
    .hero-img {
        height: 380px;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

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

.service-card {
    background: var(--color-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: left;
}

.service-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background: var(--color-primary);
    color: #0b0b0d;
}

.service-icon-box svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 500;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

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

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 80px;
    }
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 12px;
    border: 1px solid var(--color-border);
    width: 80%;
    height: 400px;
    object-fit: cover;
}

.about-img-sub {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 50%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid var(--color-bg);
    box-shadow: var(--shadow-premium);
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .about-content h3 {
        font-size: 36px;
    }
}

.about-desc {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-size: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
}

.stat-item h4 {
    font-size: 28px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

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

.gallery-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    cursor: pointer;
    background: var(--color-surface);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 11, 13, 0.9) 0%, rgba(11, 11, 13, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

.gallery-card-info h4 {
    font-size: 18px;
    font-weight: 500;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-card-info h4 {
    transform: translateY(0);
}

.gallery-card-info span {
    font-size: 11px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 4px;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    transition-delay: 0.05s;
}

.gallery-card:hover .gallery-card-info span {
    transform: translateY(0);
}

/* Contact & Info Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 80px;
    }
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

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

.contact-info-details h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.contact-info-details p,
.contact-info-details a {
    font-size: 16px;
    color: var(--color-text);
}

.contact-info-details a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(197, 168, 128, 0.05);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

/* Map Wrapper */
.map-wrapper {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    height: 380px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    filter: invert(90%) hue-rotate(180deg) contrast(1.2); /* elegant dark map styling */
}

/* Footer Section */
.main-footer {
    background: #070709;
    border-top: 1px solid var(--color-border);
    padding: 60px 0 30px 0;
}

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

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

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 14px;
    max-width: 320px;
}

.footer-links h4,
.footer-hours h4 {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu a {
    font-size: 14px;
    color: var(--color-text-muted);
}

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

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.hours-row {
    display: flex;
    justify-content: space-between;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

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

.copyright {
    font-size: 13px;
    color: var(--color-text-muted);
}

.admin-link {
    font-size: 13px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-link:hover {
    color: var(--color-primary);
}

.admin-link svg {
    width: 14px;
    height: 14px;
}

/* Floating Quick Contact Elements */
.floating-contacts {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b0b0d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.float-btn svg {
    width: 24px;
    height: 24px;
}

.float-btn.whatsapp {
    background-color: #25d366;
}

.float-btn.whatsapp:hover {
    background-color: #20ba5a;
    transform: scale(1.1) rotate(5deg);
}

.float-btn.call {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: #0b0b0d;
}

.float-btn.call:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.1) rotate(-5deg);
}

/* Visual Image Lightbox (Dynamic CSS) */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 9, 0.95);
    z-index: 200;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open .lightbox-content {
    transform: scale(1);
}

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

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.lightbox-close svg {
    width: 32px;
    height: 32px;
}

/* Animations */
@keyframes fadeInL {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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