/* ================================
   UĞUR FUAR DEKORASYON - STYLES
   ================================ */

/* ========== CSS VARIABLES ========== */
:root {
    /* Premium Theme - Black & Gold */
    --primary-color: #d4af37;
    /* Gold */
    --primary-dark: #b8860b;
    --primary-light: #f1d279;
    --secondary-color: #f1d279;
    /* Mapped to light gold */
    --accent-color: #c5a059;
    /* Muted Gold */

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-light: #64748b;

    --bg-primary: #050505;
    /* Deep Black */
    --bg-secondary: #0f0f0f;
    /* Near Black */
    --bg-tertiary: #1a1a1a;
    /* Dark Gray */
    --bg-dark: #000000;

    --border-color: #262626;
    /* Subtle grid feel */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}



/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image:
        linear-gradient(rgba(38, 38, 38, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38, 38, 38, 0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========== UTILITIES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section__header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section__subtitle {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section__title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section__description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.75rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white !important;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white !important;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    /* Gold detail */
    border-color: var(--primary-light);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #050505;
    /* Solid Deep Black */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.nav__logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: var(--font-size-lg);
    font-weight: 800;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav__link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
    background: var(--primary-color);
}

.nav__cta {

    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white !important;
    border-radius: var(--radius-md);
}

.nav__cta::after {
    display: none;
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-base);
}


/* ========== HERO SECTION ========== */
.hero {
    padding-top: 140px;
    padding-bottom: var(--spacing-3xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(5, 5, 5, 0.8) 100%),
        url('https://images.unsplash.com/photo-1560179707-f14e90ef3623?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-height: 50vh;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.hero__logo-img {
    margin-bottom: var(--spacing-xl);
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero__logo-img img {
    height: 200px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
    .hero__logo-img img {
        height: 120px;
    }
}

.hero__title {
    margin-bottom: var(--spacing-lg);
}

.hero__title-main {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: var(--spacing-xs);
}

.hero__title-gradient {
    display: block;
    font-size: var(--font-size-5xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero__description {
    font-size: var(--font-size-lg);
    color: #475569;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero__image-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.scroll-down svg {
    animation: bounce 2s ease-in-out infinite;
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    counter-reset: service-counter;
}

.service-card {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    counter-increment: service-counter;
}

.service-card::before {
    content: "0" counter(service-counter);
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.03;
    pointer-events: none;
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
}

.service-card:hover::before {
    opacity: 0.07;
    transform: translateY(10px);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.service-card__title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.service-card__title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.service-card:hover .service-card__title::after {
    width: 60px;
}

.service-card__description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: var(--font-size-sm);
}

.service-card__accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover .service-card__accent {
    opacity: 0.3;
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: var(--spacing-3xl) 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about__content {
    padding-right: var(--spacing-xl);
}

.about__text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-item__number {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-item__label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.about__image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ========== QUOTE FORM SECTION ========== */
.quote {
    padding: var(--spacing-3xl) 0;
    background: #050505;
    /* Black */
    border-top: 1px solid var(--border-color);
}

.quote__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.quote__info {
    position: sticky;
    top: 120px;
}

.quote__description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.quote__features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    font-weight: 500;
}

.feature-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.quote__form-wrapper {
    background: var(--bg-primary);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.quote__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    padding: 0.875rem 1rem;
    font-size: var(--font-size-base);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-3xl);
}

.form-success.active {
    display: flex;
}

.form-success h3 {
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
}

.form-success p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

/* ========== BLOG PAGE ========== */
.page-header {
    padding-top: 140px;
    padding-bottom: var(--spacing-3xl);
    background: #050505;
    /* Black */
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-header__title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

.page-header__description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.blog-section {
    padding: var(--spacing-3xl) 0;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.blog-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card__image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(40%) brightness(0.8);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
}

.blog-card__category {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 0.4rem 0.8rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(4px);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.blog-card__content {
    padding: var(--spacing-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.blog-card__date {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.blog-card__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    flex: 1;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.blog-card__link:hover {
    gap: var(--spacing-sm);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: var(--spacing-3xl);
    border-radius: var(--radius-2xl);
    text-align: center;
    color: white;
    box-shadow: var(--shadow-xl);
}

.cta-box__title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-box__description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-box .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer__logo img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__links a,
.footer__contact li {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.footer__links a:hover {
    color: white;
    padding-left: var(--spacing-xs);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.footer__bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ========== REFERENCES SLIDER ========== */
.references {
    padding: var(--spacing-4xl) 0;
    overflow: hidden;
    background: #050505;
}

.references__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.references__track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.reference-item img {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
}

.reference-item {
    width: 250px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--font-size-xl);
    color: var(--text-light);
    opacity: 0.5;
    transition: all 0.3s ease;
    filter: grayscale(1);
}

.reference-item:hover {
    opacity: 1;
    filter: grayscale(0);
    color: var(--primary-color);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 968px) {

    .hero__container,
    .about__grid,
    .quote__wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .hero__image,
    .about__image {
        order: -1;
    }

    .hero__title-main {
        font-size: var(--font-size-2xl);
    }

    .hero__title-gradient {
        font-size: var(--font-size-4xl);
    }

    .section__title {
        font-size: var(--font-size-3xl);
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }

    .quote__info {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(15px);
        padding: 100px var(--spacing-xl) var(--spacing-xl);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        /* Just below the header/toggle if needed */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xl);
    }

    .nav__link {
        font-size: var(--font-size-2xl);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .nav__link.nav__cta {
        margin-top: var(--spacing-lg);
        width: 100%;
        text-align: center;
    }

    .nav__toggle {
        display: flex;
        z-index: 1000;
        /* Ensure toggle is always on top */
    }

    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    .services__grid,
    .blog__grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about__stats {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .page-header__title {
        font-size: var(--font-size-4xl);
    }

    .cta-box__title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 480px) {
    .hero__title-main {
        font-size: var(--font-size-xl);
    }

    .hero__title-gradient {
        font-size: var(--font-size-3xl);
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    color: white;
}

.whatsapp-btn svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.7rem 1.2rem;
    }

    .whatsapp-btn span {
        display: none;
        /* Show only icon on small mobile if needed, but let's keep text for now or hide if too big */
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}