/* =====================================================
   GENEL AYARLAR VE RESET-NOSTRA DIGITAL 
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #006039;
    --white-color: #F5F5F5;
    --dark-bg: #0a1f1a;
    --text-color: #333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

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

/* Bölüm Ayırıcı Çizgi -NOSTRA DIGITAL */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 40px auto 40px auto;
    max-width: 80%;
    opacity: 0.3;
}

/* =====================================================
   NAVBAR KISMI-NOSTRA DIGITAL 
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(10, 31, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    
}


.navbar.scrolled {
    background: rgba(10, 31, 26, 0.98);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    height: 70px;
    align-items: center;
}

.nav-logo img {
    height: 150px;
    width: auto;
    transition: transform 0.3s ease;
}
.nav-logo {
  display: flex;              /* ! */
  align-items: center;        
  gap: 10px;                  
  overflow: hidden;           
}

.nav-logo img:hover {
    transform: scale(1.05);
}
@font-face {
  font-family: 'Oughter';
  src: url('font/Oughter.woff2') format('woff2'),
       url('font/Oughter.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.navbar a {
  font-family:Arial, Helvetica, sans-serif !important;
}
.nav-title {
  font-family: 'Oughter', sans-serif !important;
  font-size: 1.2rem;          /* 1276221756*/
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #fff;                
  margin: 0;                  
  white-space: nowrap;     
  font-size: 25px;   
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--white-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

/* İletişim Butonu -NOSTRA DIGITAL */
.nav-button {
    background: var(--primary-color);
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-button::after {
    display: none;
}

.nav-button:hover {
    background: #007a48;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 96, 57, 0.3);
}

/* Hamburger Menü */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--white-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* =====================================================
   HERO / ANA SAYFA KISMI-NOSTRA DIGITAL 
   ===================================================== */
/* =====================================================
   HERO / ANA SAYFA KISMI
   ===================================================== */
.hero {
    height: 100vh;
    width: 100vw;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('img/nd-city.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease;
    width: 100%;
}

.hero-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-logo {
    height: 120px;
    width: auto;
    animation: float 3s ease-in-out infinite;
    flex-shrink: 0;  /* ← Logo küçülmesin */
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;  /* ← Yazı alt satıra inmesin */
}

.nostra {
    font-family: 'Oughter', sans-serif;
    color: var(--primary-color);
}

.digital {
    font-family: 'Oughter', sans-serif;
    color: var(--white-color);
}

.hero-subtitle {
    font-size: 32px;
    margin: 20px 0;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s backwards;
}
/* =====================================================
   HAKKIMIZDA KISMI-NOSTRA DIGITAL 
   ===================================================== */
.about {
    padding: 80px 0 40px 0;
    background: #0a1f1a;
    width: 100%;  
    overflow-x: hidden;  
}

.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #F5F5F5;
}

.section-title {
    margin-bottom: 20px;
}

.section-title.center {
    margin-top:0;
    font-size: 42px;
    margin-bottom: 30px;
}

.highlight {
    color: var(--primary-color);
}

.light {
    color: var(--white-color);
}

.about .light {
    color: #F5F5F5;
}

/* =====================================================
   HİZMETLERİMİZ KISMI-NOSTRA DIGITAL 
   ===================================================== */
.services {
    padding: 80px 0 40px 0;
    background: #0a1f1a;
    width: 100%;  
    overflow-x: hidden;  
}

.services-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    overflow: hidden;
}

.service-card {
    background: #0a1f1a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 10%;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #F5F5F5;
}

/* Ok Butonları -NOSTRA DIGITAL */
.slider-arrow {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
    background: #007a48;
    transform: scale(1.1);
}

.left-arrow {
    position: absolute;
    left: -25px;
    z-index: 10;
}

.right-arrow {
    position: absolute;
    right: -25px;
    z-index: 10;
}

/* =====================================================
   PROJELERİMİZ KISMI-NOSTRA DIGITAL 
   ===================================================== */
.projects {
    padding: 20px 0;
    background: #0a1f1a;
    width: 100%;  
    overflow-x: hidden;  
}

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

.project-card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* =====================================================
   İLETİŞİM KISMI-NOSTRA DIGITAL
   ===================================================== */
.contact {
    padding: 100px 0;
    background: #0a1f1a;
     width: 100%;  
    overflow-x: hidden;  
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Görsel | Bilgiler | Form */
    gap: 60px;
    align-items: center;
}

.contact-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-item p {
    font-size: 18px;
    color: #dcdcdc;
}

.social-icons {
    display: flex;
    gap: 40px;
    margin-top: 15px;
}

.social-icon {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #F5F5F5;
    transform: translateY(-3px);
}

/* Mesaj Formu-NOSTRA DIGITAL */
.contact-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 32px 32px 28px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form .form-group label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8ef6b2;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    background: #ebeff2;
    font-size: 15px;
    resize: none;
    color: #1a2e28;
    font-family: inherit;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8fa3a0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,96,57,0.15);
    background: #f4f7f5;
}

.contact-form .form-group-full {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.contact-form .form-group-full label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8ef6b2;
}

.contact-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 4px;
    width: 100%;
}

.contact-form button:hover {
    background: #14b36a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,96,57,0.35);
}

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 22px 18px 20px;
    }
}



/* =====================================================
   FOOTER KISMI-NOSTRA DIGITAL
   ===================================================== */
.footer {
    background: var(--dark-bg);
    color: var(--white-color);
    padding: 60px 0 20px;
     width: 100%;  
    overflow-x: hidden;  
}

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

.footer-logo img {
    width: 350px;
    border-radius: 20px;
    height: auto;
}

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

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

.footer-links a {
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-contact p,
.footer-social p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

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

/* =====================================================
   ANİMASYONLAR-NOSTRA DIGITAL
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* =====================================================
   RESPONSİVE TASARIM - TABLETler İÇİN-NOSTRA DIGITAL
   ===================================================== */
@media (max-width: 1048px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* =====================================================
   RESPONSİVE TASARIM - MOBİL CİHAZLAR İÇİN-NOSTRA DIGITAL
   ===================================================== */
@media (max-width: 768px) {
    /* Navbar Mobil */
    .hamburger {
        display: flex;
    }
    .divider {
        margin: 15px auto 15px auto;  /* ← Mobilde daha az boşluk */
    }
     .nav-container {
        padding: 0 20px;  /* ← Padding azaltıldı */
    }
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(10, 31, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        padding: 40px 0;
        gap: 20px;
    }
    
    .nav-menu.active {
        right: 0;
    }
/* Hizmetlerimiz - Oklar Mobilde Görünsün */
    .slider-arrow {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        font-size: 20px;
        z-index: 50;
    }

    .left-arrow {
        left: 5px;
    }

    .right-arrow {
        right: 5px;
    }

    /* Hizmetler container overflow düzeltme */
    .services-container {
        overflow: visible !important;
    }

    
    /* Hero Mobil-NOSTRA DIGITAL*/
    .hero {
        width: 100vw;
        padding: 0;
        height: 100vh;
    }
    
    .hero-content {
        padding: 20px 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-logo-text {
        flex-direction: row;  /* ← Yan yana kalacak */
        gap: 15px;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;  /* ← Alt satıra inmesin */
    }
    
    .hero-logo {
        height: 60px;  /* ← Mobilde daha küçük */
        width: auto;
        flex-shrink: 0;
    }
    
    .hero-title {
        font-size: 24px;  /* ← Daha küçük */
        white-space: nowrap;  /* ← Yazı kırılmasın */
        text-align: left;
    }
    
    .hero-subtitle {
        font-size: 18px;
        text-align: center;
        margin-top: 20px;
    }
    
    .hero-description {
        font-size: 14px;
        padding: 0 10px;
        text-align: center;
    }
    
    /* Hakkımızda Mobil-NOSTRA DIGITAL*/
    .about {
        padding: 50px 0 20px 0;  /* ← Mobilde daha az */
    }

    .about-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-row:nth-child(1) {
        display: flex;
        flex-direction: column;
    }
     .about-row:nth-child(1) .about-image {
        order: 1;  /* Görsel önce */
    }
    
    .about-row:nth-child(1) .about-text {
        order: 2;  /* Yazı sonra */
    }
    .about-row.reverse:nth-child(2) {
        display: flex;
        flex-direction: column;
    }
    
    .about-row.reverse:nth-child(2) .about-text {
        order: 1;  /* Yazı önce */
    }
    
    .about-row.reverse:nth-child(2) .about-image {
        order: 2;  /* Görsel sonra */
    }
    .about-row:nth-child(3) {
        display: flex;
        flex-direction: column;
    }
    
    .about-row:nth-child(3) .about-text {
        order: 1;  /* Yazı önce */
    }
    
    .about-row:nth-child(3) .about-image {
        order: 2;  /* Görsel sonra */
    }
    
    /* Hizmetler Mobil -NOSTRA DIGITAL*/
    .services {
        padding: 20px 0 50px 0;  /* ← Mobilde daha az */
    }
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .slider-arrow {
        display: none;
    }
    
    /* Projeler Mobil -NOSTRA DIGITAL*/
    .projects {
        padding: 50px 0;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;  /* ← Gap azaltıldı mobilde */
    }
    
    /* İletişim Mobil -NOSTRA DIGITAL*/
    .contact {
        padding: 50px 0;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Footer Mobil -NOSTRA DIGITAL*/
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .section-title.center {
        font-size: 32px;
    }
}