/* 
   Project: Tzi Agata FII
   Theme: Modern Blue/Black Gradient
   Author: Agent
*/

:root {
    --color-black: #0B0F14;
    --color-graphite: #111827;
    --color-dark-gray: #1F2937;
    --color-light-gray: #F3F4F6;
    --color-blue-light: #38BDF8;
    --color-blue-med: #0EA5E9;
    --color-blue-deep: #0284C7;
    --color-white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-neon: 0 0 15px rgba(56, 189, 248, 0.3);
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-black);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--color-light-gray); }
.bg-dark { background-color: var(--color-black); color: var(--color-white); }
.bg-gradient { 
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-graphite) 50%, #1e293b 100%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-blue-light);
    color: var(--color-black);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    background-color: var(--color-blue-med);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-blue-light);
    color: var(--color-blue-light);
}

.btn-secondary:hover {
    background-color: var(--color-blue-light);
    color: var(--color-black);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Header */
.header {
    background-color: rgba(11, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span { color: var(--color-blue-light); }

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--color-light-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-blue-light);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-white);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--color-black) 0%, var(--color-graphite) 60%, var(--color-blue-deep) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2070'); /* Source: Unsplash - Skysrcaper/Business */
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--color-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Features/Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--color-blue-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-blue-med);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--color-dark-gray);
}

/* About Section */
.about-preview {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-text {
    flex: 1;
}

/* Portfolio/Stats */
.stats-section {
    background-color: var(--color-blue-light); /* Fallback */
    background: linear-gradient(to right, var(--color-blue-deep), var(--color-blue-med));
    color: var(--color-white);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--color-black);
    color: #9ca3af;
    padding: 60px 0 20px;
    border-top: 1px solid #1f2937;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--color-blue-light);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1f2937;
    font-size: 0.875rem;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-blue-light);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* Banner Cookie */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none; /* Controlled by JS */
    border-left: 5px solid var(--color-blue-light);
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

/* Disclaimer Box */
.disclaimer-box {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 20px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--color-graphite);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid #374151;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-preview {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .cookie-actions .btn {
        flex: 1;
        font-size: 0.8rem;
        padding: 10px;
    }
}
