/*
Theme Name: Flavor Starter
Theme URI: https://albmedia.ch
Author: Alb Media GmbH
Description: Premium Swiss Web Agency Theme
Version: 1.0.0
Text Domain: flavor
*/

/* =====================================================
   VARIABLES
   ===================================================== */
:root {
    --c-primary: #E31E24;
    --c-primary-dark: #b8181d;
    --c-dark: #0a0a0a;
    --c-darker: #050505;
    --c-gray-900: #111;
    --c-gray-800: #1a1a1a;
    --c-gray-700: #2a2a2a;
    --c-gray-600: #444;
    --c-gray-400: #888;
    --c-gray-300: #aaa;
    --c-white: #fff;
    --header-height: 70px;
    --z-header: 100;
    --z-menu: 99;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-white);
    background: var(--c-dark);
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--c-primary), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
    background: linear-gradient(135deg, var(--c-primary), #ff4444);
    color: var(--c-white);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--c-white);
    border: 1px solid var(--c-gray-600);
}

.btn--outline:hover {
    border-color: var(--c-white);
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: var(--z-header);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header__logo svg {
    width: 40px;
    height: 40px;
}

.header__logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Desktop Nav */
.header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header__nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-gray-400);
    transition: color 0.2s;
}

.header__nav a:hover {
    color: var(--c-white);
}

/* Header Right */
.header__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
.lang {
    display: flex;
    gap: 2px;
    padding: 3px;
    background: var(--c-gray-800);
    border-radius: 6px;
}

.lang__btn {
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-gray-400);
    background: transparent;
    border: none;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
}

.lang__btn:hover {
    color: var(--c-white);
}

.lang__btn.is-active {
    background: var(--c-primary);
    color: var(--c-white);
}

/* Hamburger */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-white);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   MOBILE NAV
   ===================================================== */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--c-darker);
    z-index: var(--z-menu);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav__link {
    display: block;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--c-white);
    border-bottom: 1px solid var(--c-gray-800);
    text-align: center;
}

.mobile-nav__link:active {
    color: var(--c-primary);
}

.mobile-nav__footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-gray-800);
    text-align: center;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 3rem) 5% 4rem;
    position: relative;
}

.hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(227, 30, 36, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero__content {
    max-width: 700px;
    position: relative;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--c-primary);
    background: rgba(227, 30, 36, 0.1);
    border: 1px solid rgba(227, 30, 36, 0.2);
    border-radius: 50px;
}

.hero__badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--c-primary);
    border-radius: 50%;
}

.hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.hero__text {
    font-size: 1.1rem;
    color: var(--c-gray-400);
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-gray-800);
}

.stat__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat__number span {
    color: var(--c-primary);
}

.stat__label {
    font-size: 0.85rem;
    color: var(--c-gray-400);
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
    padding: 5rem 5%;
}

.section--dark {
    background: var(--c-gray-900);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__tag {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section__desc {
    color: var(--c-gray-400);
    max-width: 550px;
    margin: 0 auto;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    padding: 2rem;
    background: var(--c-gray-800);
    border: 1px solid var(--c-gray-700);
    border-radius: 16px;
    transition: transform 0.2s, border-color 0.2s;
}

.service:hover {
    transform: translateY(-5px);
    border-color: var(--c-primary);
}

.service__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.service__title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.service__text {
    font-size: 0.9rem;
    color: var(--c-gray-400);
}

/* =====================================================
   PORTFOLIO
   ===================================================== */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project {
    background: var(--c-gray-800);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--c-gray-700);
    transition: transform 0.3s;
}

.project:hover {
    transform: translateY(-8px);
}

.project__image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-white);
}

.project__body {
    padding: 1.5rem;
}

.project__tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.project__tag {
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--c-primary);
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50px;
    text-transform: uppercase;
}

.project__title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project__text {
    font-size: 0.85rem;
    color: var(--c-gray-400);
    margin-bottom: 1rem;
}

.project__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-primary);
}

/* =====================================================
   ABOUT
   ===================================================== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.about__title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.about__text {
    color: var(--c-gray-400);
    margin-bottom: 1rem;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
}

.feature__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.feature__title {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.feature__text {
    font-size: 0.8rem;
    color: var(--c-gray-400);
}

.tech-box {
    padding: 2rem;
    background: var(--c-gray-800);
    border: 1px solid var(--c-gray-700);
    border-radius: 16px;
}

.tech-box__title {
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.tech-box__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-box__item {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: var(--c-gray-700);
    border-radius: 6px;
}

/* =====================================================
   CTA
   ===================================================== */
.cta {
    padding: 5rem 5%;
}

.cta__box {
    max-width: 750px;
    margin: 0 auto;
    padding: 3.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--c-primary), #ff4444);
    border-radius: 20px;
}

.cta__title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.cta__text {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

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

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: 4rem 5% 2rem;
    background: var(--c-gray-900);
    border-top: 1px solid var(--c-gray-800);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.footer__brand-text {
    color: var(--c-gray-400);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.footer__social {
    display: flex;
    gap: 0.5rem;
}

.footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-gray-800);
    border-radius: 8px;
    color: var(--c-gray-400);
    font-size: 0.8rem;
    transition: background 0.2s;
}

.footer__social a:hover {
    background: var(--c-primary);
    color: var(--c-white);
}

.footer__col-title {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.6rem;
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--c-gray-400);
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--c-white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-gray-800);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--c-gray-600);
}

.footer__legal a {
    font-size: 0.8rem;
    color: var(--c-gray-600);
    margin-left: 1.5rem;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Header */
    .header__nav {
        display: none;
    }
    
    .header__right .btn {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .lang__btn {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 3rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .hero__buttons .btn {
        width: 100%;
    }
    
    .hero__stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .stat__number {
        font-size: 2rem;
    }
    
    /* Sections */
    .section {
        padding: 3.5rem 4%;
    }
    
    .services__grid,
    .portfolio__grid {
        grid-template-columns: 1fr;
    }
    
    .about__features {
        grid-template-columns: 1fr;
    }
    
    /* CTA */
    .cta__box {
        padding: 2.5rem 1.5rem;
    }
    
    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer__legal a {
        margin: 0 0.75rem;
    }
}

/* =====================================================
   GTRANSLATE HIDE
   ===================================================== */
.gtranslate_wrapper,
.gt_float_switcher,
#gt_float_wrapper,
#gtranslate_wrapper {
    position: fixed !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt {
    display: none !important;
}

body {
    top: 0 !important;
}
