
.contact-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.contact-email {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-email:hover {
    color: var(--accent-alt-color);
}

.contact-whatsapp {
    display: flex;
    align-items: left;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-whatsapp:hover {
    opacity: 0.8;
}

.dark-mode .contact-info {
    border-color: rgba(255, 255, 255, 0.1);
}

#about-us-arrow {
    position: absolute;
    right: 0;
    top: 40px;
    z-index: 999;
}

.footer-bottom {
    display: flex;
    flex-direction: row!important;
    justify-content: space-between;
}

.about-hero {
    background: var(--background-main);
    padding: 6rem 0 2rem 0;
}

.about-hero .container {
    display: flex;
    flex-direction: column;
}

.big-title {
    font-family: var(--heading-font);
    font-size: 6rem;
    font-weight: 900;
    text-transform: none!important;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
    text-align: left;
}

.about-hero-graphic {
    width: 100%;
    max-width: 600px;
    height: 220px;
    background: linear-gradient(135deg, var(--accent-color-light) 0%, var(--accent-color-dark) 100%);
    border-radius: 30px;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

.about-cards {
    padding: 6rem 0;
    display: flex;
    justify-content: space-between;
}

.cards-row {
    display: flex;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    flex-direction: row!important;
}

.about-card {
    background: var(--background-dark);
    border-radius: 24px;
    box-shadow: var(--box-shadow);
    padding: 2.5rem 2rem 2rem 2rem;
    flex: 1 1 320px;
    max-width: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 340px;
}

.about-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--box-shadow-dark);
}

.about-card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 8px rgba(195, 50, 72, 0.12));
}

.about-card h3 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700 !important;
    color: var(--text-color-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.about-card svg {
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .big-title {
        font-size: 3rem;
    }
    .about-hero-graphic {
        height: 120px;
        border-radius: 18px;
    }
    .cards-row {
        gap: 1.2rem;
    }
    .about-card {
        padding: 1.5rem 1rem;
        min-height: 260px;
        max-width: 100%;
    }
    .about-card-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding: 3rem 0 1rem 0;
    }
    .cards-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .about-card {
        min-height: 180px;
        padding: 1rem 0.5rem;
    }
    .big-title {
        font-size: 2.1rem;
        margin-bottom: 1.2rem;
    }
}

.form-group textarea {
    height: 8rem !important;
    font-size: 1.1rem !important;
}

/* ==========================================================================
   1. CSS Variables / Root
   ========================================================================== */

:root {
    /* Colors */
    --primary-color: #130502;
    --secondary-color: #EDECE8;
    --accent-color: #C33248;
    --accent-alt-color: #456990;
    /* Typography */
    --heading-font: 'League Spartan', sans-serif;
    --body-font: 'Literata', serif;
    --nav-font: 'Sen', sans-serif;
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    /* Transitions */
    --transition-speed: 0.3s;
    /* Background Colors */
    --background-main: #EDECE8;
    --background-alt: #E5E4E0;
    --background-dark: #1A1A1A;
    --background-dark-alt: #2A2A2A;
    /* Border Colors */
    --border-color: #D1D0CC;
    --border-color-dark: #3A3A3A;
    /* Accent Colors */
    --accent-color-light: #E66478;
    --accent-color-dark: #A12A3D;
    /* Text Colors */
    --text-color-dark: #EDECE8;
    --text-color-light: #130502;
    /* Shadow */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-dark: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--body-font);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.8rem;
    overflow-x: hidden;
}

/* Typography */

h1 {
    font-family: var(--heading-font);
    font-size: 7rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 18rem;
    -webkit-user-select: none;
    user-select: none;
}

h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 2.5rem;
}

h3 {
    font-family: var(--nav-font);
    font-size: 1.6rem;
    font-weight: 300!important;
}

h4 {
    font-family: var(--nav-font);
    font-size: 1.5rem;
    font-weight: 500;
}

h5 {
    font-family: var(--nav-font);
    font-size: 1.2rem;
    font-weight: 500;
}

h6 {
    font-family: var(--nav-font);
    font-size: 1rem;
    font-weight: 500;
}

p {
    text-indent: 3rem;
    text-align: start;
}

a {
    font-family: var(--nav-font);
    text-decoration: none;
    color: inherit;
}

section {
    padding: 5rem;
}

button {
    font-family: var(--nav-font);
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    transition: all var(--transition-speed) ease;
    border-radius: 10px;
    transform: scale(1);
}

button:hover {
    transform: scale(1.1);
}

.floating-button:hover {
    transform: scale(1.1);
}

.card-link:hover,
.hero .btn:hover {
    transform: scale(1.1);
    transition: transform var(--transition-speed) ease;
}

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#header {
    position: fixed;
    top: 0;
    z-index: 999;
    background: #edece8e8;
    height: 110px;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

header {
    width: 100vw;
    ;
}

#hero-svg {
    transition: transform 0.2s linear;
    transform-origin: 50% 50%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

header #logo {
    max-width: 140px;
    height: auto;
    margin-top: 20px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav ul li {
    margin: 0 10px 0 10px;
}

header nav ul li a {
    text-decoration: none;
    color: #130502;
    font-size: 1rem;
    font-weight: normal;
    position: relative;
    overflow: hidden;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    /* Position the underline at the bottom of the link */
    left: 0;
    width: 0;
    /* Start with no underline */
    height: 1px;
    /* Thickness of the underline */
    background-color: #130502;
    /* Color of the underline */
    transition: width 0.3s ease;
    /* Smooth animation for the underline */
}

header nav ul li a:hover::after {
    width: 100%;
    /* Expand the underline to full width on hover */
}

main {
    margin-top: 110px;
}

/* Language Switcher */

.language-switcher {
    position: relative;
    display: inline-block;
    color: #130502;
    /* Default text color */
    cursor: pointer;
    transition: color 0.5s ease, background-color 0.5s ease;
}

.language-switcher .dropdown-label {
    text-transform: uppercase;
    background-color: transparent;
    /* Transparent background */
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: underline;
    display: inline-block;
    width: 100%;
}

.language-switcher .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: transparent;
    /* Transparent background */
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    width: 100%;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

.language-switcher .dropdown-menu li {
    padding: 5px 10px;
    cursor: pointer;
    text-align: right;
    /* Center the text inside the dropdown */
    text-transform: uppercase;
}

/* Show dropdown on hover */

.language-switcher:hover .dropdown-menu {
    display: block;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    -webkit-user-select: none;
    user-select: none;
}

/* Hero Section */

.hero {
    position: relative;
    overflow: hidden;
    background-color: #EDECE8;
    /* Light gray background */
    padding: 20px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero .container {
    position: relative;
    z-index: 1;
    /* ...existing container styles... */
}

#shout {
    font-family: 'League Spartan', sans-serif;
    /* Custom font for headings */
    font-size: 7rem;
    /* Largest heading */
    font-weight: 900;
    /* Bold */
    rotate: 15deg;
}

.hero h2 {
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 30px;
}

.hero .btn {
    background-color: #130502;
    color: #EDECE8;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

/* Services Section */

#services {
    background-color: #EDECE8;
    text-align: center;
    perspective: 1000px;
    overflow: visible;
    position: relative;
}

#services h2 {
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 7rem;
    line-height: 7rem;
    ;
    white-space: nowrap;
    position: relative;
    width: max-content;
    text-transform: uppercase;
    letter-spacing: -0.5rem;
}

.service-hero h1::after {
    content: '.';
    color: var(--accent-color);
    font-size: 70px;
    line-height: 1rem;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    min-height: 30vh;
}

.service {
    display: flex;
    flex-direction: row;
    flex: 1 1 calc(33.333% - 40px);
    box-sizing: border-box;
    text-align: left;
    padding: 20px 0;
    min-width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Start with 0 width */
    height: 1px;
    background-color: var(--primary-color);
    z-index: 1000;
    /* Ensure it's visible above other elements */
}

.service.active::before {
    width: 100%;
    transition: width 0.4s ease-out;
}

.service h3 {
    font-weight: bold;
    margin-bottom: 10px;
}

/* About Section */

#about {
    background-color: #EDECE8;
    text-align: center;
}

#about h2 {
    font-weight: bold;
    margin-bottom: 20px;
}

#about p {
    max-width: 800px;
}

/* Contact Section */

#contact {
    background-color: #EDECE8;
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-margin-top: 100px;
    /* Adjust to your header height */
}

.contact-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contact-title {
    font-size: 7rem;
    line-height: 7rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    cursor: pointer;
}

#contact h2 {
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    backdrop-filter: blur(5px);
}

.contact-popup.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    position: fixed;
    background: var(--secondary-color);
    padding: 2rem;
    width: 60vw;
    height: 100vh;
    right: 0;
    top: 0;
    transform: translateX(100%);
    will-change: transform;
}

.contact-popup.active .popup-content {
    transform: translateX(0);
}

.close-popup {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.close-popup::before,
.close-popup::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background-color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.close-popup::before {
    transform: rotate(45deg);
}

.close-popup::after {
    transform: rotate(-45deg);
}

.close-popup:hover {
    transform: rotate(90deg);
}

.popup-content h3 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.form-group input,
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--secondary-color) inset !important;
    -webkit-text-fill-color: var(--primary-color) !important;
    background-clip: content-box !important;
    -webkit-appearance: none;
    border-radius: 10px;
    height: 1.5rem;
}

.form-group textarea,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--secondary-color) inset !important;
    -webkit-text-fill-color: var(--primary-color) !important;
    background-clip: content-box !important;
    -webkit-appearance: none;
    border-radius: 10px;
    height: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 0.5rem 0.5rem 0.5rem;
    border: none;
    border-bottom: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    appearance: none;
    height: 3rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom: 2px solid var(--accent-color);
}

.form-group label {
    position: absolute;
    left: 0.5rem;
    top: 1.2rem;
    font-size: 1rem;
    color: #888;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    font-family: var(--nav-font);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -0.2rem;
    left: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-color-light);
    background: transparent;
    padding: 0 0.2rem;
}

/* Footer */

footer {
    background-color: #EDECE8;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--primary-color)
}

/* Fade-out animation */

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

/* Fade-in animation */

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

/* Custom Cursor Dot */

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: #C33248;
    border-radius: 50%;
    pointer-events: none;
    /* Prevent the dot from interfering with mouse events */
    z-index: 1000;
    transform: translate(-50%, -50%) scale(1);
    /* Center the dot and set initial scale */
    transition: background-color 0.5s ease;
    /* Smooth color transition */
}

.cursor-dot.link-hover {
    transform: translate(-50%, -50%) scale(2);
    background-color: var(--accent-color);
}

/* Loading Overlay */

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EDECE8;
    /* Background color for the overlay */
    z-index: 9999;
    /* Ensure it appears above all other elements */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Spinner */

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #130502;
    border-top: 5px solid #C33248;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spinner Animation */

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Floating Button */

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    color: #EDECE8;
    /* Light text */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme Switcher Text */

.theme-text {
    position: absolute;
    left: -160px;
    /* Position the text to the right of the icon */
    opacity: 0;
    /* Initially hidden */
    font-size: 0.9rem;
    color: #130502;
    /* Default text color */
    white-space: nowrap;
    /* Prevent text wrapping */
    transform: translateX(20px);
    /* Start slightly to the right */
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Smooth fade-in and slide-in */
    text-transform: lowercase;
    ;
}

#theme-icon {
    width: 50px;
    /* Adjust size as needed */
    height: 50px;
    /* Adjust size as needed */
    transition: transform 0.3s ease;
    /* Smooth rotation */
}

/* Show text on hover */

.floating-button:hover .theme-text {
    opacity: 1;
    /* Fade in */
    transform: translateX(0);
    /* Slide into position */
    ;
}

.hero-cont {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.hero-cont-left {
    width: 40vw
}

.hero-cont-right {
    width: 60vw;
    display: flex;
    justify-content: right;
}

/* Scroll Line */

#scroll-line {
    position: fixed;
    top: 0;
    left: 10px;
    width: 1px;
    /* Thickness of the line */
    height: 0;
    /* Initial height */
    background-color: #130502;
    /* Line color */
    transition: height 0.1s ease-out;
    /* Smooth animation */
    z-index: 1000;
}

.hero-image {
    margin-right: 20px;
}

.hero-image .s0,
#portfolio-img .s0 {
    fill: transparent;
    stroke: #130502
}

.hero-image .s0:hover,
#portfolio-img .s0:hover {
    fill: #130502;
    stroke: #130502
}

#services {
    background-color: #EDECE8;
    text-align: center;
    perspective: 1000px;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100vw;
}

#services .container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

#services .container .service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.service .column1 {
    min-width: 40vw;
}

.service .column2 {
    position: absolute;
    left: 40vw;
    z-index: 999;
    height: 400px;
}

.service .column1 h3 {
    font-family: var(--nav-font);
    position: relative;
    left: 0;
    line-height: 2.5rem;
    display: inline-block;
}

.service .column1 h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.4s ease-out;
}

/* Show underline on service hover */

.service:hover .column1 h3::after {
    width: 100%;
}

.service:first-child h3:before {
    content: '(1)';
    vertical-align: super;
    font-size: 10px;
    padding-right: 5px;
}

.service:nth-child(2) h3:before {
    content: '(2)';
    vertical-align: super;
    font-size: 10px;
    padding-right: 5px;
}

.service:nth-child(3) h3:before {
    content: '(3)';
    vertical-align: super;
    font-size: 10px;
    padding-right: 5px;
}

.service:nth-child(4) h3:before {
    content: '(4)';
    vertical-align: super;
    font-size: 10px;
    padding-right: 5px;
}

.service:nth-child(5) h3:before {
    content: '(5)';
    vertical-align: super;
    font-size: 10px;
    padding-right: 5px;
}

#services .marquee-container {
    cursor: grab;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    white-space: nowrap;
    user-select: none;
    overflow: visible;
}

#services .marquee-container.grabbing {
    cursor: grabbing !important;
}

.btnup-wrapper {
    border-bottom: 1px solid var(--primary-color);
}

.btnup img {
    width: 50px;
    height: 50px;
}

.portfolio-carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin: 2rem 0;
    cursor: grab;
}

.carousel-track {
    display: flex;
    height: 100%;
    will-change: transform;
    user-select: none;
}

.portfolio-card {
    width: 220px;
    height: 500px;
    margin-right: 2rem;
    position: relative;
    background-position: center;
    border-radius: 13rem 13rem 0rem 0rem;
    flex: 0 0 calc(33.333% - 2rem);
    pointer-events: none;
    background: var(--primary-color);
    overflow: hidden;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: inherit;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.portfolio-card:hover::before {
    opacity: 0.4;
}

.card-content {
    color: var(--secondary-color);
    height: 100%;
    transition: transform 0.3s ease;
    pointer-events: auto;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.card-content h3 {
    position: relative;
    z-index: 4;
    color: white;
    margin-bottom: 1rem;
}

.card-content a {
    position: relative;
    z-index: 4;
    pointer-events: auto;
}

.card-content img {
    position: relative;
    z-index: 4;
}

.portfolio-card img {
    height: 40px;
    transition: height 0.3s ease;
}

.portfolio-card:hover img {
    height: 70px;
}

#brandbook-card {
    background-image: url(../src/img/brandbook/slide17.png);
    background-size: cover;
    background-position: center;
}

#kaszubski-card {
    background-image: url(../src/img/kaszuby.png);
    background-size: cover;
    background-position: center;
}

#czasprlu-card {
    background-image: url(../src/img/czasprlu.png);
    background-size: cover;
    background-position: center;
}

.card-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 0.25rem;
    margin-top: 1rem;
}

.carousel-nav:hover {
    opacity: 1;
}

.carousel-nav.prev {
    left: 1rem;
}

.carousel-nav.next {
    right: 1rem;
}

.portfolio-carousel.grabbing {
    cursor: grabbing !important;
}

.service-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: row;
    padding: 0;
    background-color: var(--background-dark);
    color: var(--text-color-dark)
}

.service-title-wrapper {
    padding: 5rem;
}

/*websites*/

/* Hero Section */

.service-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.service-hero p {
    line-height: 1.6;
}

.websites h2 {
    margin: 3rem 0rem 4rem 4rem;
}

.websites .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.websites-features {
    padding: 5rem 0;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 4rem;
}

.feature {
    display: flex;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateX(10px);
}

.feature:last-child {
    border-bottom: 1px solid var(--border-color);
}

.feature .column1 {
    flex: 0 0 40%;
    padding-right: 2rem;
}

.feature .column2 {
    flex: 0 0 60%;
}

.feature h3 {
    font-family: var(--nav-font);
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.4;
    position: relative;
    padding-left: 1.2rem;
}

.feature h3::before {
    content: '✦';
    position: absolute;
    left: 0;
    font-size: 0.7rem;
    top: 0.7rem;
}

.feature p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.target-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.target-group {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
}

.target-group p {
    text-align: center;
    text-indent: 0;
}

.target-group:hover {
    transform: scale(1.02);
}

.target-group h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color-light);
}

/* Benefits Section */

.websites-benefits {
    background-color: var(--background-alt);
    padding: 5rem 0;
}

.websites-benefits .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.websites-benefits h2 {
    font-family: var(--nav-font);
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
}

.websites-benefits p {
    text-indent: 0;
}

.websites-benefits .feature {
    display: flex;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.websites-benefits .feature:hover {
    transform: translateX(10px);
}

.websites-benefits .feature:last-child {
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .websites-benefits {
        padding: 2rem;
    }
    .websites-benefits .feature {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    .websites-benefits .column1,
    .websites-benefits .column2 {
        flex: 1;
        padding: 0;
    }
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* CTA Section */

.websites-cta {
    text-align: center;
    background-image: url('../src/img/bgblue.png');
    background-attachment: fixed;
    color: white;
}

.websites-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.websites-cta p {
    margin: 0 auto 3rem;
    text-align: center;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background-color: white;
    color: var(--accent-alt-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 2rem 0;
}

.nav-mobile-logo {
    display: none;
    /* Hide by default */
}

/* Service Content Section */

.service-content,
.seo-content,
.ads-content,
.graphic-content,
.social-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.service-content h2,
.seo-content h2,
.ads-content h2,
.graphic-content h2,
.social-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.service-content ul,
.seo-content ul,
.ads-content ul,
.graphic-content ul,
.social-content ul {
    list-style: disc inside;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.service-content li,
.seo-content li,
.ads-content li,
.graphic-content li,
.social-content li {
    margin-bottom: 0.75rem;
}

.service-content p,
.seo-content p,
.ads-content p,
.graphic-content p,
.social-content p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.offer ul,
.benefits ul {
    list-style: decimal inside;
    padding-left: 2rem;
    margin-top: 2rem;
}

.offer ul li,
.benefits ul li {
    margin-bottom: 1rem;
    list-style: decimal-leading-zero;
}

.mobile-nav {
    display: none!important;
}

/* Responsive Design */

@media (max-width: 768px) {
    .carousel-track {
    display: flex;
    height: 100%;
    will-change: transform;
    user-select: none;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 2rem;
    }
    .portfolio-carousel {
        height: auto;
        overflow: visible;
        cursor: default;
    }
      .portfolio-cards {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .portfolio-card {
        width: 100%;
        max-width: 300px;
        height: 400px;
        margin-right: 0;
        flex: none;
        border-radius: 10rem 10rem 0 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .portfolio-card::before {
        opacity: 0.5;
    }
    
    .portfolio-card:hover::before,
    .portfolio-card:active::before {
        opacity: 0;
    }
    
    .card-content {
        padding: 1.5rem;
        justify-content: center;
    }
    
    .card-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .card-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .card-content a {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .card-content img {
        max-width: 60px;
        margin-bottom: 1rem;
    }
    
    /* Portfolio Section */
    #portfolio {
        padding: 4rem 0;
    }
    
    #portfolio h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    #portfolio-container {
        overflow: visible;
        max-width: none;
    }
    
    #portfolio-img {
        display: none;
    }
    p {
        text-indent: 3rem;
        text-align: left;
    }
    .process-step {
        max-width: 1000px;
        margin: 2rem 0 4rem!important;
        padding: 0!important;
        position: relative;
    }
    .websites h2 {
        margin: 0 0 2rem 0;
    }
    .container {
        width: 100%;
    }
    .features-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0 0rem;
    }
    .feature {
        display: flex;
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        transition: transform 0.3s ease;
        flex-direction: column;
        gap: 1rem;
    }
    .service-hero {
        min-height: unset!important;
    }
    .service-image-wrapper img {
        display: none!important;
    }
    .cursor-dot {
        display: none!important;
    }
    ;
    .contact-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: stretch;
        justify-content: stretch;
        z-index: 9999;
        opacity: 1;
        border-radius: 0 !important;
        transition: opacity 0.3s;
    }
    .popup-content {
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        background: var(--primary-color, #fff);
        color: var(--secondary-color, #222);
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 2rem 1rem;
        position: relative;
        z-index: 10000;
    }
    .close-popup {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        cursor: pointer;
        z-index: 10001;
    }
    .popup-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .form-group input,
    .form-group textarea {
        width: 100%;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .form-group textarea#message {
        min-height: 200px;
    }
    .submit-btn {
        width: 100%;
        font-size: 1.1rem;
        padding: 0.75rem;
    }
    .mobile-nav {
        display: block!important;
        position: fixed;
        right: -100vw;
        transition: right 0.3s;
        padding: 2rem!important;
    }
    main {
        margin-top: 120px!important;
    }
    .language-switcher .dropdown-menu li {
        text-align: left;
    }
    .language-switcher .dropdown-label {
        padding: 0!important;
    }
    .mobile-nav.active {
        right: 0;
    }
    .desktop-nav {
        display: none;
    }
    #services h2 {
        font-size: 4rem;
    }
    .services-dropdown {
        width: 100%;
        position: relative;
    }
    .services-dropdown .services-menu {
        display: block;
        position: static;
        background: none;
        box-shadow: none;
        min-width: unset;
        padding: 0;
    }
    .services-dropdown .services-menu li a {
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        color: var(--primary-color);
        background: none;
        width: 100%;
        display: block;
    }
    .services-dropdown .services-menu li:last-child a {
        border-bottom: none;
    }
    .websites-hero,
    .websites-features,
    .websites-target,
    .websites-benefits,
    .websites-cta {
        padding: 4rem 1rem;
    }
    .features-list,
    .target-groups,
    .benefits-list {
        gap: 1.5rem;
    }
    .features-list li,
    .target-group {
        padding: 1.5rem;
    }
    header .container {
        padding: 1rem;
    }
    h1 {
        font-size: 5rem;
    }
    header nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--background-main);
        padding: 4rem 2rem;
        transition: 0.3s ease;
        z-index: 1000;
    }
    /* Add mobile nav logo */
    .nav-mobile-logo {
        width: 110px;
        height: auto;
        margin-bottom: 2rem;
        margin-left: -1rem;
        margin-top: 0.2rem;
        display: block;
        opacity: 0;
    }
    header nav.active .nav-mobile-logo {
        opacity: 1;
        transition: opacity 0.3s ease;
        transition-delay: 0.2s;
        /* Slight delay after menu opens */
    }
    /* Animation for nav logo */
    @keyframes fadeInDown {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    header nav ul {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-top: 1rem;
    }
    header nav.active {
        left: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    header nav ul {
        flex-direction: column;
        gap: 2rem;
    }
    header nav ul li {
        opacity: 0;
        transform: translateX(50px);
    }
    header nav.active ul li {
        opacity: 1;
        transform: translateX(0);
        transition: 0.3s ease;
        transition-delay: calc(0.1s * var(--i));
        width: 100%
    }
    /* Hamburger Menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 30px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }
    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--primary-color);
        transition: 0.3s ease;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    /* Theme Switcher */
    #theme-switcher {
        top: auto;
        bottom: 2rem;
        right: 2rem;
        transform: scale(0.9);
    }
    /* Language Switcher */
    .language-switcher {
        margin-top: 1rem;
    }
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-top: 1rem;
        box-shadow: none;
        background: transparent;
    }
    #services .container {
        flex-direction: column;
    }
    .service {
        flex-direction: column;
        min-height: auto;
    }
    .service .column1 {
        min-width: 100%;
        width: 100%;
    }
    .service .column2 {
        position: relative;
        left: 0;
        width: 100%;
        height: 200px;
        margin-top: 1rem;
    }
    .service .column1 h3 {
        font-size: 1.4rem;
        line-height: 2rem;
    }
    .hero-contact-info {
        margin-top: 2rem;
        display: flex;
        gap: 2rem;
        align-items: flex-start;
        flex-direction: column;
    }
    .hero-whatsapp {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--text-color-dark);
        text-decoration: none;
        transition: opacity 0.2s ease;
        font-size: 1rem;
    }
    .hero-whatsapp:hover {
        opacity: 0.8;
    }
    .hero-email {
        color: var(--text-color-dark);
        text-decoration: none;
        transition: color 0.2s ease;
        font-size: 1rem;
    }
    .hero-email:hover {
        color: var(--accent-color);
    }
    @media (max-width: 768px) {
        .hero-contact-info {
            flex-direction: column;
            align-items: flex-start;
            gap: 1rem;
            margin-top: 1.5rem;
        }
    }
    /* Adjust service list layout */
    #services .container .service-list {
        width: 100%;
    }
    .hero-cont {
        flex-direction: column;
        align-items: center;
    }
    .hero-cont-left,
    .hero-cont-right {
        width: 100%;
    }
    .service-hero {
        display: flex;
        flex-direction: column;
        padding: 0;
        background-color: var(--background-dark);
        color: var(--text-color-dark);
        align-content: stretch;
        align-items: flex-end;
    }
    .popup-content {
        position: fixed;
        background: var(--secondary-color);
        padding: 2rem;
        width: 100vw;
        height: 100vh;
        right: 0;
        left: 0;
        top: 0;
        transform: translateX(100%);
        will-change: transform;
    }
    #contact-title {
        font-size: 2.5rem;
        font-weight: 800 !important;
    }
    .service-title-wrapper {
        padding: 2rem;
    }
    .service-image-wrapper {
        display: flex;
        justify-content: flex-end;
        margin-right: 2rem;
    }
    .service-image-wrapper img {
        max-width: unset;
        height: 240px;
    }
}

/* Hero Section */

.social-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--background-main);
}

.social-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.2;
    max-width: 1200px;
}

.social-hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 800px;
    line-height: 1.6;
}

/* Services Section */

.social-services {
    background-color: var(--background-alt);
}

.services-list {
    list-style: none;
}

.services-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.services-note {
    text-align: center;
    font-style: italic;
    margin-top: 3rem;
}

/* Target Groups Section */

.social-target {
    background-color: var(--background-main);
}

/* Benefits Section */

.social-benefits {
    background-color: var(--background-alt);
}

.benefits-list {
    max-width: 1000px;
    margin: 3rem auto;
    list-style: none;
}

.benefits-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2rem;
}

/* CTA Section */

.social-cta {
    text-align: center;
    background-color: var(--background-main);
}

.social-cta p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Responsive Design */

@media (max-width: 768px) {
    section {
        padding: 4rem 1rem;
    }
    .target-groups {
        grid-template-columns: 1fr;
    }
    header #logo {
        max-width: 110px;
    }
}

/* Process Section */

.websites-process {
    background-color: var(--background-main);
}

.process-step {
    max-width: 1000px;
    margin: 0 4rem;
    padding: 2rem 0;
    position: relative;
}

.process-step h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.process-step p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-image-wrapper {
    display: flex;
    justify-content: flex-start;
}

.service-image-wrapper img {
    max-width: 30vw;
    min-width: 300px;
    aspect-ratio: 16 / 9;
    display: block;
    height: 100%;
}

.services-dropdown {
    position: relative;
}

.services-dropdown .services-menu {
    display: none;
    position: absolute;
    left: -34px;
    top: 100%;
    background: var(--background-main);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    min-width: 180px;
    z-index: 100;
    padding: 0.5rem 0;
    border-radius: 0 20px 20px 20px;
}

.services-dropdown:hover .services-menu,
.services-dropdown:focus-within .services-menu {
    display: block;
}

.services-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color-light);
    text-decoration: none;
    white-space: nowrap;
}

.services-menu li a:hover {
    color: #A12A3D
}

/* ...existing code... */

#cookies-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    display: flex;
    justify-content: center;
    z-index: 9999;
    pointer-events: auto;
    transition: transform .35s ease, opacity .35s ease;
}

#cookies-banner .cookies-inner {
    max-width: 1100px;
    width: calc(100% - 40px);
    background: rgba(26, 26, 26, 0.96);
    color: #fff;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#cookies-banner .cookies-text {
    flex: 1 1 60%;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-light, #fff);
}

#cookies-banner .cookies-text a {
    color: var(--accent-alt, #4f77a3);
    text-decoration: underline;
}

#cookies-banner .cookies-actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

#cookies-banner .btn {
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    border: 0;
}

#cookies-banner .btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

#cookies-banner .btn-accent {
    background: var(--accent, #c33248);
    color: #fff;
}

#cookies-banner.cookies-hide {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 680px) {
    #cookies-banner .cookies-inner {
        padding: 14px;
    }
    #cookies-banner .cookies-text {
        flex-basis: 100%;
        margin-bottom: 8px;
    }
    #cookies-banner .cookies-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .language-switcher .dropdown-menu {
        display: flex !important;
        flex-direction: row;
        gap: 0.5rem;
        position: relative;
        top: 0;
        left: 0;
        width: auto;
        padding: 0.25rem 0;
        background: transparent;
        justify-content: center;
    }
    .language-switcher .dropdown-menu li {
        padding: 6px 10px;
        text-transform: uppercase;
        border-radius: 6px;
        background-color: var(--background-alt);
        text-align: center;
    }
    .language-switcher .dropdown-menu li:hover,
    .language-switcher .dropdown-menu li:active {
        background: rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }
    .language-switcher .dropdown-label {
        display: none;
    }
    .process-steps-arrow {
        display: none;
    }
    .websites-features h2 {
        text-align: left;
        ;
    }
    .process-step h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        font-weight: 400 !important;
    }
    .features-list {
        grid-template-columns: unset!important;
    }
    .contact-info {
        flex-direction: row;
        gap: 1rem;
        align-items: flex-start;
        justify-content: space-between;
    }
    .contact-info h5 {
        display: none;
    }
    .hero-cta {
        width: 100%;
        margin-top: 1.5rem;
        padding: 0.875rem 2rem;
    }
}

/* Hero CTA Button */

.hero-cta,
.submit-btn {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.process-steps-arrow {
    display: none;
}

/* ...existing code... */

/* Pricing Banner */

.pricing-banner {
    background-image: url('../src/img/bgred.png');
    background-attachment: fixed;
    color: white;
    padding: 2rem 0;
    margin: 0;
}

.pricing-banner .container {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.pricing-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    font-weight: 600 !important;
    color: white;
    text-align: center;
}

.pricing-content p {
    text-indent: 0;
    text-align: center;
}

.pricing-cta {
    background: white;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .pricing-banner .container {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    .pricing-content h3 {
        font-size: 1.4rem;
    }
    .pricing-content p {
        margin-bottom: 1.5rem;
    }
}

/* ========================= BRANDBOOK SLIDER STYLES ========================= */

.brandbook-slider {
    padding: 100px 0;
    background: var(--light);
}

.brandbook-slider h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark);
}

.brand-slider-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.brand-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(19, 5, 2, 0.15);
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.brand-slide {
    min-width: 100%;
    position: relative;
}

.brand-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--red);
    background: transparent;
    border-radius: 50%;
    color: var(--red);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
}

.slider-btn:hover {
    background: var(--red);
    color: white;
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(19, 5, 2, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--red);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--red);
    opacity: 0.7;
}

/* Dark mode styles */

body.dark-mode .brandbook-slider {
    background: var(--dark);
}

body.dark-mode .brandbook-slider h2 {
    color: var(--light);
}

body.dark-mode .brand-slider {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body.dark-mode .slider-btn {
    border-color: var(--red);
    color: var(--red);
}

body.dark-mode .dot {
    background: rgba(237, 236, 232, 0.3);
}

body.dark-mode .dot.active {
    background: var(--red);
}

/* Responsive styles */

@media (max-width: 768px) {
    .brandbook-slider {
        padding: 60px 0;
    }
    .brandbook-slider h2 {
        margin-bottom: 40px;
        font-size: 2rem;
    }
    .brand-slider-container {
        padding: 0 20px;
    }
    .brand-slider {
        border-radius: 15px;
    }
    .slider-controls {
        gap: 20px;
        margin-top: 30px;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .brandbook-slider {
        padding: 40px 0;
    }
    .slider-controls {
        gap: 15px;
        margin-top: 25px;
    }
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
    .slider-dots {
        gap: 8px;
    }
}

/* Animation for slide transitions */

.brand-slide {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Preloader for images */

.brand-slide img {
    loading: lazy;
    transition: opacity 0.3s ease;
}

.brand-slide img:not([src]) {
    opacity: 0;
}

/* Smooth hover effects */

.brand-slider:hover .slider-btn {
    opacity: 1;
}

.brand-slider .slider-btn {
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Focus states for accessibility */

.slider-btn:focus,
.dot:focus {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}