/* Base Styles & Variables */
:root {
    --bg-dark: #0f1115;
    --bg-card: #161b22;
    --bg-lighter: #21262d;
    --accent-blue: #0070f3;
    --accent-glow: rgba(0, 112, 243, 0.5);
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.highlight {
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 17, 21, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

#navbar.scrolled {
    background-color: rgba(15, 17, 21, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

/* CSS Text Logo Formatted to look Metallic / Premium */
.brand-logo {
    display: flex;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-remzi {
    color: #fff;
    background: linear-gradient(to right, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-ersal {
    color: var(--accent-blue);
    margin-left: 5px;
    text-shadow: 0 0 15px rgba(0, 112, 243, 0.6);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: #005bb5;
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-glow {
    background-color: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-glow:hover {
    background-color: #fff;
    color: var(--accent-blue);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-outline {
    border: 1px solid var(--text-main);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,17,21,0.9) 0%, rgba(15,17,21,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: -50px auto 4rem auto;
    position: relative;
    z-index: 10;
    padding: 0 2rem;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 8rem 2rem;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.image-overlay-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(22, 27, 34, 0.82);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    text-align: center;
    min-width: 170px;
}

.image-overlay-card .count {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    font-family: var(--font-heading);
    margin-bottom: 0.2rem;
}

.image-overlay-card .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.sub-title {
    color: var(--accent-blue);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 500;
    border-left: 3px solid var(--accent-blue);
    padding-left: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.about-feature-item i {
    font-size: 1.6rem;
    color: var(--accent-blue);
    background: rgba(0, 112, 243, 0.1);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 112, 243, 0.2);
}

.about-feature-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #fff;
}

.about-feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Details Grid */
.about-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.detail-card {
    background: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    height: 100%;
}

.detail-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: var(--bg-lighter);
}

.detail-card i {
    font-size: 2.2rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    display: block;
}

.detail-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.detail-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Products Section */
.products-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: rgba(0, 112, 243, 0.3);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-blue);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Services */
.services-section {
    background-color: var(--bg-card);
    padding: 6rem 2rem;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.services-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.service-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list i {
    color: var(--accent-blue);
}

.services-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Footer */
.footer {
    background-color: #0a0b0e;
    padding: 4rem 2rem 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-contact ul li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-blue);
}

.footer-map h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
}

.map-container iframe {
    filter: brightness(0.8) contrast(1.1) grayscale(0.2);
    transition: var(--transition);
}

.map-container iframe:hover {
    filter: brightness(1) contrast(1) grayscale(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    .about-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .services-container {
        grid-template-columns: 1fr;
    }
    .features {
        margin-top: 2rem;
    }
    .about-details-grid {
        grid-template-columns: 1fr;
    }
    .about-content h2 {
        font-size: 2.22rem;
    }
    .image-overlay-card {
        right: 10px;
        bottom: -20px;
        padding: 1.5rem;
        min-width: 140px;
    }
}

/* Welcome Card Compact */
.welcome-card-compact {
    position: fixed;
    top: 100px;
    right: 30px;
    background: rgba(22, 27, 34, 0.85);
    backdrop-filter: blur(20px);
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.welcome-card-compact.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.welcome-card-compact i.main-icon {
    font-size: 1.8rem;
    color: var(--accent-blue);
    text-shadow: 0 0 15px var(--accent-glow);
}

.welcome-card-compact .greeting-info {
    display: flex;
    flex-direction: column;
    margin-right: 15px;
}

.welcome-card-compact .greeting-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    margin-bottom: 2px;
}

.welcome-card-compact .greeting-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.welcome-card-compact .close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 5px;
    padding-left: 15px;
}

.welcome-card-compact .close-btn:hover {
    color: #ff4d4d;
}

@media (max-width: 768px) {
    .welcome-card-compact {
        top: 75px; /* Logo ile Hero başlığı arasındaki boşluğa ortalandı */
        right: 15px;
        left: 15px; /* Mobilde ortalanmış veya daha dar görünüm için */
        padding: 0.7rem 1rem;
        gap: 10px;
        justify-content: center;
    }
    .welcome-card-compact .greeting-text {
        font-size: 0.95rem;
    }
    .welcome-card-compact .greeting-sub {
        font-size: 0.75rem;
    }
    .welcome-card-compact i.main-icon {
        font-size: 1.4rem;
    }
}
