@import 'palette.css';

/* Modern Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--secondary-color);
    background-color: #F8F9FA;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header - Glassmorphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.4s ease;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 10px 20px rgba(42, 218, 1, 0.25);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(42, 218, 1, 0.35);
}

/* Hero Section - Immersive Dark */
.hero {
    height: 100vh;
    background: radial-gradient(circle at 10% 20%, #2b2b2b 0%, #181919 90%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.15;
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: drift 10s infinite alternate;
}

@keyframes drift {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-50px, 50px);
    }
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(42, 218, 1, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-200);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero .btn-hero {
    background: var(--primary-color);
    color: white;
    padding: 18px 45px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section-title span {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Services - Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.bento-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(42, 218, 1, 0.15);
    border-color: var(--primary-color);
}

.bento-card.highlight {
    background: var(--secondary-color);
    color: white;
}

.bento-card.highlight h3,
.bento-card.highlight p,
.bento-card.highlight i {
    color: white;
}

.bento-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.bento-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #111;
    color: #888;
    padding-top: 80px;
    padding-bottom: 40px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: #888;
}

.footer a:hover {
    color: var(--primary-color);
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 15px 0;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    flex: 1;
}

.btn-cookie {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
}

.btn-cookie:hover {
    background: var(--green-dark-1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}