/*
Theme Name: Adisa Construction
Theme URI: https://adisa.bg
Author: Adisa Construction Company
Author URI: https://adisa.bg
Description: Професионална тема за строителна компания Adisa - Сандански, България. Модерен дизайн с тъмна цветова схема и златисти акценти.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adisa
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready, construction, business
*/

/* ===================================
   CSS Variables & Base Styles
   =================================== */

:root {
    /* Dark slate palette with amber accent */
    --background: hsl(220, 14%, 10%);
    --foreground: hsl(210, 20%, 98%);
    --card: hsl(220, 13%, 14%);
    --card-foreground: hsl(210, 20%, 98%);
    --primary: hsl(38, 92%, 50%);
    --primary-foreground: hsl(220, 14%, 10%);
    --secondary: hsl(220, 13%, 18%);
    --secondary-foreground: hsl(210, 20%, 98%);
    --muted: hsl(220, 12%, 20%);
    --muted-foreground: hsl(215, 16%, 60%);
    --border: hsl(220, 12%, 22%);
    --section-dark: hsl(220, 14%, 8%);
    --section-light: hsl(220, 13%, 14%);
    --shadow-card: 0 10px 40px -10px hsla(220, 14%, 5%, 0.5);
    --shadow-glow: 0 0 30px hsla(38, 92%, 50%, 0.2);
    --gradient-hero: linear-gradient(135deg, hsla(220, 14%, 10%, 0.9), hsla(220, 14%, 10%, 0.7));
    --gradient-accent: linear-gradient(135deg, hsl(38, 92%, 50%), hsl(32, 95%, 44%));
    --radius: 0.5rem;
}

/* ===================================
   Reset & Base
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

ul,
ol {
    list-style: none;
}

/* ===================================
   Utility Classes
   =================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

#site-icon {
    border-radius: 6px;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: hsla(38, 92%, 50%, 0.9);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: var(--secondary);
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: transparent;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===================================
   Header
   =================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsla(220, 14%, 10%, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 1024px) {
    .header-inner {
        height: 5rem;
    }
}

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

.logo-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .logo-icon {
        width: 4rem;
        height: 4rem;
    }
}

.logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--primary-foreground);
}

@media (min-width: 1024px) {
    .logo-icon svg {
        width: 2rem;
        height: 2rem;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Inter', serif;
}

@media (min-width: 1024px) {
    .logo-name {
        font-size: 1.5rem;
    }
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.header-cta {
    display: none;
}

@media (min-width: 1024px) {
    .header-cta {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.header-phone:hover {
    color: var(--foreground);
}

.menu-toggle {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav .nav-link {
    padding: 0.5rem 0;
    font-size: 1rem;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 52rem;
    padding-top: 8rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.hero-badge-icon {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-title-accent {
    display: block;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 36rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
    .hero-stats {
        gap: 2rem;
    }
}

.stat-item {
    text-align: center;
}

@media (min-width: 640px) {
    .stat-item {
        text-align: left;
    }
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', serif;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 0.875rem;
    }
}

/* ===================================
   About Section
   =================================== */

.about-section {
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .about-section {
        padding: 7rem 0;
    }
}

.about-bg-grid {
    position: absolute;
    top: 6%;
    right: 4%;
    width: 32%;
    height: 70%;
    opacity: 0.04;
    pointer-events: none;
    color: var(--primary);
    filter:
        drop-shadow(0 0 4px rgba(var(--primary-rgb), 0.15)) drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.08));
}

@media (max-width: 1024px) {
    .about-bg-grid {
        width: 42%;
        height: 60%;
        top: 10%;
        right: 0;
        opacity: 0.03;
    }
}

@media (max-width: 640px) {
    .about-bg-grid {
        width: 100%;
        height: 40%;
        top: 0;
        right: -35%;
        opacity: 0.02;
    }
}

.about-bg-grid svg {
    width: 100%;
    height: 100%;
}


.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .about-grid {
        gap: 4rem;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 5rem;
        align-items: start;
    }
}

.about-content {
    order: 1;
}

.about-specialization {
    order: 2;
}

@media (min-width: 1024px) {
    .about-content {
        order: unset;
    }

    .about-specialization {
        order: unset;
    }
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 2rem;
    height: 2px;
    background-color: var(--primary);
}

/* TITLE */
.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    font-family: serif;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* DESCRIPTION */
.section-description {
    font-size: 1.15rem;
    color: var(--muted-foreground);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* VALUES */
.about-values {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.value-item {
    display: flex;
    gap: 18px;
}

.value-icon {
    position: relative;
    width: 52px;
    height: 52px;
    background: rgba(var(--primary-rgb), 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    box-shadow:
        0 0 0 1px rgba(255, 200, 0, 0.15),
        0 0 12px rgba(255, 200, 0, 0.25),
        0 0 24px rgba(255, 200, 0, 0.15);
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    filter: drop-shadow(0 0 4px rgba(255, 200, 0, 0.6));
}

.value-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 6px;
}

.value-text {
    font-size: 1.05rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* RIGHT CARD */
.about-specialization {
    background: rgba(var(--secondary-rgb), 0.5);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

/* CARD TITLE */
.specialization-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: serif;
    color: var(--foreground);
}

/* LIST */
.specialization-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.specialization-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--foreground);
}

.specialization-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
    padding: 5rem 0;
    background-color: var(--section-dark);
}

@media (min-width: 1024px) {
    .services-section {
        padding: 7rem 0;
    }
}

.services-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

@media (min-width: 1024px) {
    .services-header {
        margin-bottom: 4rem;
    }
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-foreground);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
}

.services-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .services-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

.services-column-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.services-column-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-column-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Row item */
.service-row {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-row:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.05);
}

.service-row-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-row-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.service-row h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.service-row p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===================================
   Projects Section
   =================================== */

.projects-section {
    padding: 5rem 0;
    background-color: var(--section-light);
}

@media (min-width: 1024px) {
    .projects-section {
        padding: 7rem 0;
    }
}

.projects-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .projects-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.projects-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 1px solid var(--primary);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(220, 14%, 10%, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    inset: 0;
}

.project-category {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.project-location {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.projects-locations {
    margin-top: 5rem;
}

.locations-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
}

.locations-title {
    font-size: 1.25rem;
    font-family: serif;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 2rem;
}

.locations-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.locations-list span {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--secondary);
    color: var(--muted-foreground);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: default;
}

.locations-list span:hover {
    background: rgba(251, 191, 36, 0.15);
    color: var(--primary);
}

.locations-button {
    margin-top: 2rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: transparent;
    color: var(--foreground);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--primary);
}

.btn-outline svg {
    transition: transform 0.3s ease;
}

.btn-outline:hover svg {
    transform: translateX(4px);
}

.adisa-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
}

.modal-content {
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 1000px;
    color: white;
}

.close-modal {
    position: absolute;
    top: -40px;
    /* Move it above the title */
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
}

.close-modal:hover {
    color: #ffb400;
}

.modal-content {
    margin-top: 80px;
}

.modal-gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.modal-gallery-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.project-gallery-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid var(--primary);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.project-gallery-badge svg {
    width: 16px;
    height: 16px;
}

/* Make project cards clickable */
.project-card[data-gallery] {
    cursor: pointer;
}

.project-card[data-gallery]:hover {
    transform: translateY(-6px);
}

/* Modal Overlay */
/* Ensure overlay shows on hover */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease;
    text-align: left;
    padding: 20px;
    cursor: pointer;
}

.project-card:hover .project-overlay {
    opacity: 1;
    /* Show on hover */
}

.view-action {
    display: block;
    margin-top: 15px;
    color: #ffb400;
    /* Use your accent color */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Modal Counter Styling */
#imageCounter {
    color: white;
    font-family: sans-serif;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

.modal-controls {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* Modal Background */
.adisa-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

/* Modal Content Animation */
.modal-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    max-width: 900px;
    text-align: center;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(-40%);
    }

    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

/* Image Styling */
#modalGallery img {
    max-width: 100%;
    max-height: 70vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: none;
    /* Hidden by default, JS will show active one */
}

#modalGallery img.active {
    display: inline-block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Navigation Arrows */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
    text-decoration: none;
}

.prev {
    left: -60px;
}

.next {
    right: -60px;
}

.prev:hover,
.next:hover {
    color: #ffb400;
}

/* Use your brand color here */

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: #f1f1f1;
    font-size: 40px;
    cursor: pointer;
}


/* ===================================
   Contact Section
   =================================== */

.contact-section {
    padding: 5rem 0;
    background-color: var(--section-dark);
}

@media (min-width: 1024px) {
    .contact-section {
        padding: 7rem 0;
    }
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--secondary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.contact-item-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item-value {
    color: var(--foreground);
}

.contact-item-value a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-form h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    min-height: 7rem;
    resize: vertical;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    background-color: var(--background);
    border-top: 1px solid var(--border);
}

.footer-main {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-brand p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-top: 1rem;
    max-width: 20rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

/* ===================================
   WordPress Specific
   =================================== */

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   Privacy Policy Page Styling
   =================================== */

.privacy-page {
    background-color: var(--background);
    color: var(--foreground);
    padding: 8rem 2rem 5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .privacy-page {
        padding: 6rem 1rem 3rem;
    }
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--card);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    animation: fadeUp 0.6s ease-out;
}

@media (max-width: 768px) {
    .privacy-container {
        padding: 2rem 1.5rem;
    }
}

.privacy-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary);
    font-family: 'Inter', Georgia, serif;
}

@media (max-width: 768px) {
    .privacy-page h1 {
        font-size: 2rem;
    }
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    position: relative;
    font-family: 'Inter', Georgia, serif;
}

.privacy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: var(--gradient-accent);
}

@media (max-width: 768px) {
    .privacy-section h2 {
        font-size: 1.25rem;
    }
}

.privacy-section p {
    margin-bottom: 1.25rem;
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.8;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section p strong {
    color: var(--foreground);
    font-weight: 600;
}

.privacy-section a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.privacy-section a:hover {
    border-bottom-color: var(--primary);
    opacity: 0.8;
}

.privacy-section ul {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.privacy-section ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.privacy-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--gradient-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.privacy-section ul li:last-child {
    margin-bottom: 0;
}

.privacy-section ul.contact-list li strong {
    color: var(--foreground);
    font-weight: 600;
    margin-right: 0.5rem;
}

.privacy-section p strong:first-child {
    color: var(--primary);
    font-size: 1.1em;
}

/* ===================================
   Privacy Checkbox Styling (Contact Form)
   =================================== */

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg,
            rgba(var(--secondary-rgb), 0.3),
            rgba(var(--secondary-rgb), 0.5));
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.privacy-checkbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            transparent,
            rgba(var(--primary-rgb), 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.privacy-checkbox:hover::before {
    opacity: 1;
}

.privacy-checkbox:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
    background: linear-gradient(135deg,
            rgba(var(--secondary-rgb), 0.4),
            rgba(var(--secondary-rgb), 0.6));
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.1);
}

.privacy-checkbox-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary);
    border: 2px solid var(--border);
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.privacy-checkbox-input:hover {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

.privacy-checkbox-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.privacy-checkbox-label {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--foreground);
    cursor: pointer;
    user-select: none;
    margin: 0;
    position: relative;
    z-index: 1;
}

.privacy-policy-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 0.125rem 0.25rem;
    margin: 0 0.125rem;
    border-radius: 0.25rem;
}

.privacy-policy-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.privacy-policy-link:hover {
    color: var(--foreground);
    background: rgba(var(--primary-rgb), 0.15);
}

.privacy-policy-link:hover::after {
    transform: scaleX(1);
}

.form-submit-btn {
    width: 100%;
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    display: none;
}

.form-message p {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin: 0;
    font-size: 0.875rem;
}

.form-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: rgb(34, 197, 94);
}

.form-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: rgb(239, 68, 68);
}

@media (max-width: 640px) {
    .privacy-checkbox {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .privacy-checkbox-label {
        font-size: 0.8125rem;
    }
}

@media (max-width: 640px) {
    .privacy-page {
        font-size: 0.9375rem;
    }

    .privacy-section h2 {
        font-size: 1.125rem;
    }

    .privacy-section ul li {
        padding-left: 1.5rem;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media print {
    .privacy-page {
        background: white;
        color: black;
        padding: 1rem;
    }

    .privacy-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .privacy-section h2 {
        border-bottom-color: #333;
    }

    .privacy-section a {
        color: #0066cc;
        text-decoration: underline;
    }
}