﻿/* 
   Åahin Proje & Ä°nÅŸaat - Premium Dark Theme
   Colors: Black, White, Gold (#D4AF37)
   Fonts: Montserrat, Roboto
*/

:root {
    --color-bg: #0e0e0e;
    --color-bg-alt: #161616;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-gold: #D4AF37;
    --color-gold-hover: #b59228;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --container-width: 1200px;
    --header-height: 100px;

    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gold {
    color: var(--color-gold);
}

.text-center {
    text-align: center;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-dark-alt {
    background-color: var(--color-bg-alt);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.align-center {
    align-items: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--color-gold);
    color: #000;
    border: 2px solid var(--color-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-gold);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: #000;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 12px;
    background-color: var(--color-gold);
    color: #000;
    border: none;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}

.social-link i {
    font-size: 20px;
    color: var(--color-gold);
}

.social-link:hover {
    color: var(--color-gold);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(14, 14, 14, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    height: 80px;
    /* Adjust based on preference */
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link i {
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Dropdown */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-alt);
    min-width: 200px;
    padding: 10px 0;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 2px solid var(--color-gold);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text-muted);
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li a:hover {
    color: var(--color-gold);
    padding-left: 25px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    margin: 5px auto;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Common */
.section-title {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin-bottom: 30px;
}

.section-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.max-w-800 {
    max-width: 800px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--color-bg-alt);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--color-gold);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.project-card:hover .placeholder-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.project-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tag {
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* About Section */
.about-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 20px;
    border-left: 3px solid var(--color-gold);
    padding-left: 20px;
}

.about-image {
    height: 400px;
}

.about-image .placeholder-img {
    border-radius: 2px;
}

/* Projects List */
.project-category h3 {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.project-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.project-list li i {
    margin-right: 15px;
}

/* Footer */
.footer {
    background-color: #050505;
    padding-top: 60px;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-bottom {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Project Detail Styles */
.project-features {
    list-style: none;
    margin-top: 20px;
}

.project-features li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
}

.project-features li i {
    margin-right: 15px;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 900px) {

    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--color-bg);
        width: 100%;
        height: calc(100vh - var(--header-height));
        padding: 30px;
        transition: var(--transition);
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: transparent;
        box-shadow: none;
        border-top: none;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Lightbox / Gallery Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    margin: auto;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    animation-name: zoom;
    animation-duration: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    border-radius: 4px;
}

@keyframes zoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    line-height: 1;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2010;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
    color: var(--color-gold);
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
    z-index: 2010;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--color-gold);
    color: #000;
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        max-width: 100%;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
        background-color: rgba(0, 0, 0, 0.6);
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

}

/* Project Stats */
.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 20px;
    color: var(--color-gold);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: var(--color-gold);
    color: #000;
}

.stat-info h4 {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-info p {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.2;
}

/* Background Accordion */
.hero {
    position: relative;
    overflow: hidden;
    /* Remove default background if it exists, or let accordion cover it */
}

.background-accordion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
    /* Straight layout */
}

.accordion-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.5s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    /* Enable pointer events so hover works */
}

.accordion-item:last-child {
    border-right: none;
}

/* Hover Effect: Expand */
.accordion-item:hover {
    flex: 3;
}

/* Images */
.accordion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    /* Slight zoom instead of huge scale */
    transition: transform 0.5s ease;
}

/* Overlay - 40% black by default, 10% on hover */
.accordion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
    /* No transform needed */
    pointer-events: none;
}

/* Match image transform to cover fully */


.accordion-item:hover .accordion-overlay {
    background: rgba(0, 0, 0, 0.1);
}

/* Project Name Text */
.project-name {
    position: absolute;
    top: 15%;
    /* Top alignment */
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: 20;
    /* High z-index to ensure visibility */

    /* Font Styling */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    white-space: nowrap;
    opacity: 1;
    /* Always visible */

    display: flex;
    justify-content: center;
    align-items: center;
}

/* On hover, text can be bigger */
.accordion-item:hover .project-name {
    color: #fff;
    font-size: 16px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Hero Content Interaction Fix */
.hero-overlay {
    pointer-events: none !important;
}

.hero-content {
    pointer-events: none !important;
}

.hero-content>* {
    pointer-events: auto !important;
}

/* Mobile: Switch to vertical stack or just hide? */
@media (max-width: 768px) {
    .project-name {
        writing-mode: vertical-rl;
        /* Switch to vertical on mobile to fit */
        text-orientation: mixed;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
    }
}

/* Contact Page Styling - Refined for Dark Theme */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-grid-layout {
        grid-template-columns: 1fr;
    }
}

/* Info Column - Dark Theme */
.contact-info-col {
    background-color: #0e0e0e;
    /* Dark background matching body */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item-row {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 16px;
    color: #ffffff;
    /* White text */
}

.contact-item-row i {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    /* Dark circle */
    color: #D4AF37;
    /* Gold Icon */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Subtle gold border */
    transition: all 0.3s ease;
}

.contact-item-row:hover i {
    background: #D4AF37;
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.section-title {
    color: #D4AF37 !important;
    /* Force Gold */
    font-size: 24px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Map Wrapper */
.map-wrapper {
    margin-top: 30px;
    height: 300px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Gold border */
    border-radius: 4px;
    overflow: hidden;
}

/* Form Column */
.form-title {
    font-size: 28px;
    color: #D4AF37;
    /* Gold Title as requested */
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 15px;
    display: inline-block;
}

.sp-form .form-group {
    margin-bottom: 20px;
}

.sp-form input[type="text"],
.sp-form input[type="email"],
.sp-form input[type="tel"],
.sp-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #333;
    /* Darker border */
    background-color: #f9f9f9;
    /* Keep light input for readability */
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    outline: none;
    transition: all 0.3s;
}

.sp-form input:focus,
.sp-form textarea:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Custom Checkbox */
.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-container {
    display: flex;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 13px;
    color: #ccc;
    /* Lighter text for dark theme */
    line-height: 1.5;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 3px;
}

.checkbox-container:hover input~.checkmark {
    background-color: #444;
}

.checkbox-container input:checked~.checkmark {
    background-color: #D4AF37;
    border-color: #D4AF37;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    height: 10px;
    border: solid #000;
}

#vision .btn-outline:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Global Overflow Fix */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

/* Ensure container doesn't cause overflow */
.container {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Fix Project Stats for Mobile */
.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    padding-top: 20px;
}

/* Accordion Mobile Adjustment */
.hero {
    overflow: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Contact Form Mobile adjustments */
@media (max-width: 500px) {
    .captcha-area {
        max-width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .captcha-img {
        width: 100%;
        margin-bottom: 10px;
        border-right: none;
        border-bottom: 1px solid #ccc;
    }
}

/* Gallery Tabs System */
.gallery-tabs-container {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.gallery-tabs {
    display: inline-flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: none;
    /* Removed underline */
}

.gallery-tab {
    background-color: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    padding: 12px 30px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    position: relative;
    border-radius: 4px;
    /* Slight rounding for button feel */
    min-width: 140px;
}

.gallery-tab:hover {
    background-color: var(--color-gold);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.gallery-tab.active {
    background-color: var(--color-gold);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Remove the underline effect from previous style */
.gallery-tab.active::after {
    display: none;
}

.gallery-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.gallery-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}