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

:root {
    --primary: #0056b3;
    --primary-light: #e6f0ff;
    --accent: #00c2cb;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --bg-white: #ffffff;
    --bg-alt: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

/* Scroll Progress Line */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    z-index: 1000;
    width: 0%;
}

/* Header/Nav */
header {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: sticky;
    top: 0;
    background: var(--bg-white);
    z-index: 900;
    border-bottom: 1px solid #eee;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #004289;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 10px 15px;
}

nav a.active {
    background: #555;
    color: white;
}

nav a:hover:not(.active) {
    color: #004289;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    overflow: hidden;
    background: #f5f5f5;
}

.hero-content {
    z-index: 2;
    max-width: 400px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.2s;
}

.hero h1 {
    font-size: 2.8rem;
    color: #004289;
    margin-bottom: 0.8rem;
    font-weight: 300;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Info Text Section */
.info-section {
    padding: 60px 15%;
    text-align: center;
    background: white;
}

.info-section h2 {
    color: #004289;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.info-section p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid #eee;
    padding: 8px 25px;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.filter-btn.active {
    background: #f0f0f0;
    color: #333;
    font-weight: 600;
}

.filter-btn:hover:not(.active) {
    border-color: #ccc;
}

.banner-placeholder {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('banner.jpg') center/cover no-repeat;
    z-index: 1;
}

/* Services Section */
.services {
    padding: 100px 5%;
    background-color: var(--bg-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.service-card.no-click {
    cursor: default;
}

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

.image-area {
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

/* Placeholder pattern */
.service-card:not(.no-click) .image-area::before {
    content: 'FOTO';
    color: #ccc;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Vacustyler Special Card */
.vacustyler-special-card {
    margin-top: 60px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    width: 100%;
}

.vacu-bg {
    flex: 1;
    min-width: 300px;
    background-size: cover;
    background-position: center;
    min-height: 350px;
}

.vacu-content {
    flex: 1;
    min-width: 300px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}

.vacu-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.vacu-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.read-more-btn {
    align-self: flex-start;
    background: var(--primary);
    color: white;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.read-more-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 194, 203, 0.3);
}

@media (max-width: 768px) {
    .vacu-content {
        padding: 40px 30px;
    }

    .vacu-content h2 {
        font-size: 1.8rem;
    }
}

.service-card:hover .image-area {
    filter: brightness(0.3) blur(2px);
}

.hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 3;
}

.service-card:hover .hover-info {
    opacity: 1;
    transform: translateY(0);
}

.hover-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hover-info p {
    font-size: 0.95rem;
    line-height: 1.4;
}

.card-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 2;
    white-space: nowrap;
}

.service-card:hover .card-label {
    opacity: 0;
}

.service-card.hidden {
    display: none;
}

/* Footer */
footer {
    padding: 60px 10%;
    background: white;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.footer-section h4 {
    margin-bottom: 25px;
    color: #004289;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 12px;
}

.footer-section a:hover {
    color: #004289;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #888;
    max-width: 800px;
    text-align: center;
    line-height: 1.6;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #004289;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    header nav {
        display: none;
    }

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