

:root {
    --primary: #FF7A00;
    --primary-hover: #E06C00;
    --dark: #1A1A1A;
    --dark-bg: #121212;
    --light: #F9F9F9;
    --white: #FFFFFF;
    --grey: #888888;
    --light-grey: #E5E5E5;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --font-heading: 'Times New Roman', Times, serif;
    --font-body: 'Times New Roman', Times, serif;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
}

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

ul {
    list-style: none;
}

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

/* --- TOP HEADER BAR --- */
.top-bar {
    background-color: var(--dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

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

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-info {
    display: flex;
    gap: 20px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.top-info span a {
    white-space: nowrap;
}

.top-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-social a:hover {
    color: var(--primary);
}

/* --- MAIN NAVIGATION --- */
.main-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--light-grey);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Logo Design - Orange "Kayan", Black "Perde Galerisi", Frame/Border box */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--dark);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    text-align: center;
    background-color: var(--white);
}

.logo-kayan {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-sub {
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-top: 1px solid var(--dark);
    margin-top: 3px;
    padding-top: 2px;
}

.logo-year {
    font-size: 0.6rem;
    color: var(--grey);
    letter-spacing: 1px;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* Language Selector */
.lang-selector {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid var(--light-grey);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
}

.lang-flag:hover, .lang-flag.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    height: calc(85vh - 120px);
    min-height: 500px;
    background-color: var(--dark);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 650px;
    padding: 0 20px;
}

.slide-subtitle {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease forwards;
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    animation: fadeInUp 1s ease forwards;
}

.slide-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease forwards;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* --- PROMO SECTION (BEDAVA ÖLÇÜYOR-DİKİYOR-TAKAYORUZ) --- */
.promo-section {
    background-color: var(--primary);
    color: var(--white);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.promo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.promo-text h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.promo-text p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
}

.promo-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

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

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

.section-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

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

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

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

.service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-card-desc {
    color: var(--grey);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

/* --- ABOUT SECTION --- */
.about-section {
    background-color: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.about-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.about-img::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: calc(var(--border-radius) - 4px);
    pointer-events: none;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--grey);
    margin-bottom: 30px;
}

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

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

/* --- REFERENCES GALLERY --- */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.reference-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 250px;
    position: relative;
    cursor: pointer;
}

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

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

.reference-item:hover img {
    transform: scale(1.05);
}

.reference-item:hover .reference-overlay {
    opacity: 1;
}

.reference-zoom {
    color: var(--white);
    font-size: 2rem;
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 20px 0;
}

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

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col.about-col .logo-link {
    border-color: var(--white);
    background-color: transparent;
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-col.about-col .logo-sub {
    color: var(--white);
    border-top-color: var(--white);
}

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

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

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

/* Map Wrapper */
.footer-map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Newsletter Input */
.newsletter-form {
    display: flex;
    margin-top: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    flex-grow: 1;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form .btn {
    border-radius: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 999;
    font-size: 2rem;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #25D366;
    border-radius: 50%;
    animation: pulseRipple 1.8s infinite ease-out;
}

/* --- DETAILS PAGE STYLE --- */
.page-banner {
    background-color: var(--dark);
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-title {
    font-size: 2.8rem;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-top: 10px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.detail-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.detail-content p {
    color: var(--grey);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.detail-sidebar {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    height: fit-content;
}

.sidebar-box {
    margin-bottom: 30px;
}

.sidebar-box:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-list li {
    margin-bottom: 12px;
}

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.sidebar-list a:hover, .sidebar-list a.active {
    color: var(--primary);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseRipple {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 12px 0;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }
    
    .top-info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        width: 100%;
    }
    
    .top-info span {
        justify-content: center;
        width: 100%;
        white-space: normal;
        text-align: center;
    }
    
    .top-info span a {
        white-space: normal;
        word-break: break-all;
    }
    
    .top-social {
        justify-content: center;
        width: 100%;
        gap: 15px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 35px rgba(0,0,0,0.1);
        border-top: 1px solid var(--light-grey);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background-color: var(--light);
        display: none;
        transform: none;
        width: 100%;
        border-radius: 0;
        min-width: 0;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .about-grid, .detail-grid, .services-grid, .references-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .logo-link {
        padding: 6px 12px;
    }
    
    .logo-kayan {
        font-size: 1.4rem;
    }
    
    .logo-sub {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .slide-title {
        font-size: 1.6rem;
    }
}
