@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #2b4c8c;
    --primary-hover: #1b3566;
    --primary-light: #e9effd;
    --accent-color: #4a90e2;
    --dark-bg: #1c1d21;
    --light-bg: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Header & Navbar */
header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.2rem;
    position: relative;
}

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

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

.nav-phone {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.nav-phone:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* Active Hamburgers states */
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Carousel Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 450px;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    z-index: 3;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

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

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

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

/* Double CTA Section (Almak / Satmak) */
.double-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 380px;
    background-color: var(--white);
}

.cta-box {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: var(--transition-slow);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
    transition: var(--transition-smooth);
}

.cta-box:hover .cta-bg {
    transform: scale(1.06);
}

.cta-box:hover .cta-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 500px;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    font-weight: 300;
}

/* Styled Outline Buttons */
.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--white);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    background-color: transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* About Us Section (Home) */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
}

.about-branding {
    text-align: center;
    border-right: 1px solid var(--border-color);
    padding-right: 4rem;
}

.about-logo {
    max-width: 220px;
    margin-bottom: 1.5rem;
}

.about-tagline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.about-tagline.en {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Triple CTA Section */
.triple-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    height: 350px;
}

.triple-cta-grid .cta-content h2 {
    font-size: 1.5rem;
}

.triple-cta-grid .cta-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.triple-cta-grid .btn-outline {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* Social Media Follow Bar */
.social-bar {
    background-color: var(--primary-color);
    padding: 1.5rem;
    text-align: center;
    color: var(--white);
}

.social-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.social-bar-content span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Section */
footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 4rem 1.5rem 1.5rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

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

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: var(--dark-bg);
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-design a {
    color: var(--text-color);
    font-weight: 600;
}

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

/* Subpages General Banner */
.page-banner {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 3rem 1.5rem;
    text-align: center;
}

.page-banner h1 {
    color: var(--white);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-content {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

/* Forms general styling */
.form-section {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.form-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-grid-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    background-color: #fcfdfe;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(43, 76, 140, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Custom Styled Radio Buttons Selector */
.radio-selector {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
}

.radio-option input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    outline: none;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked {
    border-color: var(--primary-color);
}

.radio-option input[type="radio"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.radio-option input[type="radio"]:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.9rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    float: right;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.form-actions {
    overflow: hidden;
    margin-top: 1.5rem;
}

/* Form success message */
.form-success-alert {
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 1.2rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

/* Projeler Grid Page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.project-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.project-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-card {
    align-self: flex-start;
    padding: 0.5rem 1.2rem;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 4px;
    font-size: 0.85rem;
}

.btn-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Contact Page Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    background-color: var(--primary-light);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-details h4 {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.info-details p, .info-details a {
    font-size: 1.1rem;
    font-weight: 500;
}

.map-container {
    height: 250px;
    width: 100%;
    margin-top: 2rem;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-branding {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 2rem;
    }
}

@media (max-width: 900px) {
    .double-cta-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .cta-box {
        height: 300px;
    }
    
    .triple-cta-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .triple-cta-grid .cta-box {
        height: 280px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 3rem 1.5rem;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-phone {
        display: none; /* inside menu drawer on mobile if needed, or hidden */
    }
    
    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid-full {
        grid-column: span 1;
    }
    
    .form-section {
        padding: 2rem 1.5rem;
    }
    
    .radio-selector {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .social-bar-content {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
}

/* Screen Reader Only helper for SEO H1 structure */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
