@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

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

:root {
    --andezit: #4a4a4a;
    --andezit-dark: #3a3a3a;
    --andezit-light: #5a5a5a;
    --gold: #c9a961;
    --gold-light: #d4b982;
    --gold-dark: #a68948;
    --bg-dark: #2d2d2d;
    --bg-light: #f5f5f5;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #e8e8e8;
    color: #2d2d2d;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(58, 58, 58, 0.95);
    backdrop-filter: blur(15px);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 3rem;
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    background: rgba(201,169,97,.12);
    color: var(--gold);
    border: 1px solid rgba(201,169,97,.4);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

.logo {
    background: linear-gradient(135deg, #d4b982 0%, #c9a961 50%, #a68948 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    font-family: 'Helvetica Neue', sans-serif;
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 75%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

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

/* Hero Slider */
.slider-container {
    margin-top: 65px;
    height: 90vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
}

.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

/* Slide image should fully cover area */
.slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(58, 58, 58, 0.85) 0%, 
        rgba(74, 74, 74, 0.75) 40%,
        rgba(90, 90, 90, 0.65) 70%,
        rgba(201, 169, 97, 0.15) 100%);
    display: flex;
    align-items: center;
}

.slide-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
    animation: slideIn 1s ease-out;
}

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

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Space Grotesk', 'Inter', 'Segoe UI', sans-serif;
    max-width: 800px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.slide-content .gold-accent {
    background: linear-gradient(135deg, #d4b982 0%, #c9a961 50%, #a68948 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}

.slide-content p {
    font-size: 1.2rem;
    color: #e8e8e8;
    max-width: 600px;
    line-height: 1.8;
    font-weight: 300;
}

.slider-nav {
    position: absolute;
    bottom: 60px;
    right: 3rem;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-nav button {
    width: 55px;
    height: 55px;
    background: rgba(201, 169, 97, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(201, 169, 97, 0.4);
    color: var(--gold);
    cursor: pointer;
    transition: all 0.4s;
    font-size: 1.3rem;
}

.slider-nav button:hover {
    background: rgba(201, 169, 97, 0.9);
    border-color: var(--gold);
    color: #2d2d2d;
    transform: scale(1.05);
}

/* About Section */
.about {
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
    padding: 120px 0;
    margin: 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.about-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.about-inner .section-title {
    color: #ffffff;
}

.about-inner .section-description {
    color: #c0c0c0;
}

.about-content {
    margin-top: 60px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: all 0.4s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: #e8e8e8;
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 3rem;
    background: #e8e8e8;
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-label {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
    color: #2d2d2d;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.section-description {
    color: #666;
    font-size: 1.15rem;
    max-width: 700px;
    line-height: 1.9;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    border-left: 3px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
    transition: height 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(201, 169, 97, 0.2);
    border-left-color: var(--gold);
}

.service-card:hover::before {
    height: 100%;
}

.service-number {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.service-card h3 {
    color: #2d2d2d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* References Section */
.references {
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
    padding: 120px 0;
    margin: 0;
    position: relative;
    z-index: 1; /* Header'ın altında kalması için */
}

.references::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.references-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.references-inner .section-title {
    color: #ffffff;
}

.references-inner .section-description {
    color: #c0c0c0;
}

.references-grid {
    margin-top: 80px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.references-track {
    display: flex;
    gap: 2rem;
    will-change: transform;
}

@media (max-width: 768px) {
    .logo img {
        max-width: 50%;
    }
}

.reference-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: all 0.4s;
    text-align: left;
    flex: 0 0 280px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 768px) {
    .reference-card {
        flex: 0 0 240px;
        min-width: 240px;
    }
    
    .reference-media {
        min-height: 200px;
    }
    
    .references-track {
        gap: 1.5rem;
    }
}

.reference-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.reference-media {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    min-height: 170px;
    height: 100%;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.reference-logo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
    transition: all 0.4s;
}

.reference-card:hover .reference-logo {
    filter: brightness(1) contrast(1);
}

.reference-media::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.reference-media h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    margin: 0;
    z-index: 2;
}

.reference-card p {
    color: #a0a0a0;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

@keyframes scrollReferences {
    0% {
        transform: translateX(var(--start-offset, 0));
    }
    100% {
        transform: translateX(calc(var(--start-offset, 0) - 50%));
    }
}

/* Contact Section */
.contact {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 3rem;
    background: #e8e8e8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 80px;
}

.contact-info h3 {
    color: #2d2d2d;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.contact-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-label {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-item-value {
    color: #2d2d2d;
    font-size: 1.15rem;
    font-weight: 500;
}

.contact-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 4rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--gold);
}

/* Contact CTA form layout */
.contact-cta .first-row,
.contact-cta .second-row,
.contact-cta .third-row,
.contact-cta .fourth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.contact-cta .second-row,
.contact-cta .third-row,
.contact-cta .fourth-row { grid-template-columns: 1fr; }

/* Form controls */
.contact-cta input,
.contact-cta select,
.contact-cta textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 97, 0.35);
    background: #ffffff;
    color: #2d2d2d;
    font-size: 0.95rem;
    outline: none;
    transition: box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.contact-cta input::placeholder,
.contact-cta textarea::placeholder { color: #999; }
.contact-cta textarea { min-height: 180px; resize: vertical; }

.contact-cta input:focus,
.contact-cta select:focus,
.contact-cta textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15);
    background: #fffef9;
}

/* Validation states (only after user attempts submit) */
.contact-cta.was-validated input:invalid,
.contact-cta.was-validated select:invalid,
.contact-cta.was-validated textarea:invalid {
    border-color: #d9534f;
    box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.15);
}
.contact-cta.was-validated input:valid,
.contact-cta.was-validated select:valid,
.contact-cta.was-validated textarea:valid {
    border-color: var(--gold);
}

@media (max-width: 768px){
  .contact-cta { padding: 2rem; }
  .contact-cta .first-row,
  .contact-cta .second-row,
  .contact-cta .third-row,
  .contact-cta .fourth-row { grid-template-columns: 1fr; }
}

.contact-cta h3 {
    color: #2d2d2d;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.contact-cta p {
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}


.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s;
    font-size: 0.95rem;
    letter-spacing: 2px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.5);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    background: linear-gradient(135deg, #d4b982 0%, #c9a961 50%, #a68948 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 3px;
}

.footer-brand p {
    color: #999;
    line-height: 1.9;
    font-size: 0.95rem;
}

.footer-section h5 {
    color: #e8e8e8;
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s;
    color: var(--gold);
}

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

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem 0;
    border-top: 1px solid rgba(201, 169, 97, 0.1);
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

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

    .references-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.85rem;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

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

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile nav under 700px */
@media (max-width: 700px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute;
    right: 1rem;
    top: 64px;
    background: #0f0f0f;
    border: 1px solid rgba(201,169,97,.25);
    border-radius: 10px;
    padding: 10px 12px;
    flex-direction: column;
    gap: 10px;
    display: none;
    z-index: 1001;
  }
  .nav-links.open { display: flex; }
}
