/* ============================================
   Envosoft Bilişim - Kurumsal CSS Styles
   Color Palette: Soft Grey + Blue (#036AC4)
   ============================================ */

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

:root {
    /* Colors */
    --primary: #036AC4;
    --primary-dark: #0252a0;
    --primary-light: #3a8fd6;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --grey-dark: #4a4a4a;
    --grey: #7a7a7a;
    --grey-light: #a8a8a8;
    --grey-lighter: #e8e8e8;
    --white: #ffffff;
    --off-white: #f5f5f5;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p {
    color: var(--grey);
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--grey-lighter);
    z-index: 1000;
    padding: 0;
    height: 120px;
}

.logo-icon {
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    display: block;
}

.logo-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: none;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 600;
    color: var(--grey);
    padding: 0;
    position: relative;
    line-height: 1;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--dark);
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 170px 0 80px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--grey);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
}

/* Hero Visual Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-card {
    position: absolute;
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: float 6s ease-in-out infinite;
}

.hero-card.card-1 {
    top: 10%;
    left: 0;
    /* animation-delay: 0s; */
}

.hero-card.card-2 {
    top: 32%;
    right: 0%;
    /* animation-delay: 1s; */
}

.hero-card.card-3 {
    top: 55%;
    left: 0;
    /* animation-delay: 2s; */
}

.hero-card.card-4 {
    bottom: 5%;
    right: 0%;
    /* animation-delay: 3s; */
}

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

.card-icon {
    font-size: 2rem;
}

.card-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.card-text p {
    font-size: 0.875rem;
    color: var(--grey);
    margin: 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    color: var(--grey-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--grey);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Services Preview Section
   ============================================ */
.services-preview {
    padding: var(--spacing-xxl) 0;
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--grey-lighter);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--grey);
    margin: 0;
}

.center-button {
    text-align: center;
}

/* ============================================
   Services Detail Page Styles
   ============================================ */
.services-detailed {
    padding: var(--spacing-xxl) 0;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xxl) 0;
    border-bottom: 1px solid var(--grey-lighter);
}

.service-detail-item:first-child {
    padding-top: 0;
}

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

.service-icon-large {
    font-size: 4rem;
    display: flex;
    align-items: flex-start;
}

.service-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.service-content > p {
    font-size: 1.0625rem;
    color: var(--grey);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
}

.service-features li {
    padding: var(--spacing-xs) 0;
    color: var(--grey-dark);
    font-weight: 500;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--spacing-xxl) 0;
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.about-text p {
    font-size: 1.125rem;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.about-features {
    list-style: none;
}

.about-features li {
    padding: var(--spacing-sm) 0;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--grey-dark);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.stat-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--grey);
    font-weight: 500;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--dark);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.cta .btn-primary {
    background: var(--dark);
    color: var(--white);
}

.cta .btn-primary:hover {
    background: var(--dark-light);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--spacing-xxl) 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xxl);
}

.contact-form-container h2,
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--dark);
}

.contact-form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--grey-lighter);
    border-radius: var(--radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.1);
}

.info-cards {
    display: grid;
    gap: var(--spacing-md);
}

.info-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.info-icon {
    font-size: 1.5rem;
}

.info-content h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}

.info-content p {
    color: var(--grey);
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: var(--primary-dark);
}

/* ============================================
   Map Section
   ============================================ */
.map-section {
    height: 400px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--grey --grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);    
}

.map-overlay {
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.map-overlay p {
    font-size: 1.125rem;
    color: var(--grey-dark);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

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

.footer-links li,
.footer-contact li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--grey-light);
    transition: color 0.3s ease;
}

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

.footer-contact li {
    color: var(--grey-light);
    line-height: 1.8;
}

.footer-desc {
    color: var(--grey-light);
    margin-top: var(--spacing-sm);
    line-height: 1.8;
}

.footer .logo {
    display: block;
}

.footer .logo-text {
    color: var(--white);
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--dark-light);
    text-align: center;
    color: var(--grey);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-visual {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

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

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

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .header {
        height: 90px;
    }

    .logo-icon {
        width: 180px;
        height: 180px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .hero {
        padding: 170px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .page-header {
        padding: 170px 0 60px;
    }

    .nav {
        gap: var(--spacing-sm);
    }

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

    .stat-card {
        padding: var(--spacing-md);
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .service-detail-item {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .service-icon-large {
        font-size: 3rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .header .container {
        flex-direction: column;
        justify-content: center;
    }

    .header {
        height: auto;
        min-height: 70px;
        padding: 8px 0;
    }

    .logo-icon {
        width: 100px;
        height: 100px;
    }

    .nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .hero {
        padding: 140px 0 40px;
    }

    .page-header {
        padding: 140px 0 40px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .hero-cta,
    .contact-form,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    h1, h2, h3, h4, h5, h6 {
        color: black;
    }
}
