@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #E64A19;
    /* Slightly darker for better contrast */
    --primary-hover: #D84315;
    --dark: #1A1A1A;
    --dark-grey: #333333;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --text: #444444;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

h1,
h2,
h3,
h4 {
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    text-transform: uppercase;
    font-size: 2rem;
    color: var(--dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 1rem auto 0;
}

/* Header */
header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.sticky {
    background: var(--white);
    position: fixed;
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.sticky .logo h1,
header.sticky .logo-text {
    color: var(--dark) !important;
}

header.sticky .logo-text {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

header.sticky nav a,
header.sticky nav a i {
    color: var(--dark) !important;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.header-inner .btn {
    padding: 0.8rem 1.5rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--white) !important;
}

.logo-img {
    height: 65px;
    width: auto;
}

.logo-text {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.header-badges {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-left: 1rem;
}

.badge-img {
    height: 40px;
    width: auto;
}

.s2-badge {
    border-radius: 50%;
    object-fit: cover;
}

nav ul {
    display: flex;
    gap: 1.2rem;
}

nav a i {
    margin-right: 8px;
    color: var(--white);
    opacity: 0.8;
}

nav a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    white-space: nowrap;
}

nav a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    min-height: 100vh;
    height: auto;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: clamp(120px, 22vh, 180px);
    padding-bottom: clamp(60px, 10vh, 100px);
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 1100px;
    font-weight: 800;
    margin-left: auto;
    margin-right: auto;
}

.hero-content h2 {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.4;
    font-weight: 600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-price {
    margin-bottom: 2.5rem;
    padding: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 5vw, 4rem);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: auto;
    max-width: 90%;
}

.price-main {
    font-size: clamp(1.4rem, 4vw, 1.8rem) !important;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.2rem !important;
}

.price-main span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.price-disclaimer {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
    opacity: 0.7;
    font-style: italic;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-whatsapp {
    background-color: #25D366 !important;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none !important;
}

.btn-whatsapp:hover {
    background-color: #1ebd59 !important;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4) !important;
    transform: translateY(-2px);
}

.btn-whatsapp i {
    font-size: 1.4rem;
}

.contact-submit-btn {
    width: auto !important;
    padding: 1rem 3.5rem !important;
    display: block;
    margin: 0 auto;
}

/* Services */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Carousel Section */
.carousel-section {
    background-color: var(--light);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
}

.slide-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center 30%;
    background-color: var(--white);
}

.slide-info {
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-info h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.slide-info p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #666;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.slide-info .price {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 1.5rem;
    color: var(--dark);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Block */
.contact-section {
    background-color: var(--dark);
    color: var(--white);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 5px;
}

.contact-form h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    /* Added subtle background for visibility */
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Increased border contrast */
    color: var(--white);
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    /* Clearer placeholder contrast */
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 74, 25, 0.2);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    color: var(--white);
    font-weight: 700;
    gap: 1rem;
    transition: var(--transition);
}

.viber {
    background-color: #7360f2;
}

.whatsapp {
    background-color: #25d366;
}

.telegram {
    background-color: #0088cc;
}

.social-btn:hover {
    transform: translateX(10px);
    opacity: 0.9;
}

/* Footer */
footer {
    padding: 2rem 0;
    background: #111;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.9rem;
}

footer a {
    color: inherit;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .slide-content {
        grid-template-columns: 1fr;
    }

    .slide-image {
        height: 250px;
    }

    .slide-info {
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 0;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .carousel-nav {
        display: none !important;
    }

    .carousel-container,
    .carousel-track,
    .carousel-slide,
    .slide-content {
        height: auto !important;
        min-height: initial !important;
    }

    .carousel-btn {
        position: static;
        width: 44px;
        height: 44px;
        background: #f5f5f5;
    }

    .slide-image {
        height: 300px !important;
        object-fit: cover;
        object-position: center 30%;
    }

    .slide-info {
        padding: 1.2rem !important;
        background: var(--white);
    }

    .slide-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .slide-info p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .price {
        margin-top: 0.5rem !important;
    }

    .logo-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.8rem;
    }

    .logo-img {
        height: 45px !important;
        width: auto !important;
        max-width: 200px;
    }

    .logo-text {
        font-size: 0.7rem;
        margin-left: 0;
        text-align: center;
        color: #FFFFFF !important;
    }

    .header-badges {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
    }

    .badge-img {
        height: 25px !important;
        width: auto !important;
    }

    .header-inner .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
        width: 100%;
        max-width: 250px;
    }

    .hero {
        padding-top: 280px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        word-break: break-word;
        hyphens: auto;
    }

    .hero-content h2 {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        word-break: break-word;
        hyphens: auto;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    nav#nav-menu {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 850px) and (min-width: 769px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .hero-content h1 {
        margin-bottom: 1rem;
    }

    .hero-content h2 {
        margin-bottom: 1rem;
    }

    .hero-content p {
        margin-bottom: 1.5rem;
    }

    .hero-price {
        margin-bottom: 1.5rem;
        padding: 1rem 2rem;
    }

    .price-main {
        font-size: 1.5rem !important;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: calc(100% - 4rem);
    max-width: 420px;
    background: #ffffff;
    color: var(--dark);
    padding: 2rem;
    border-radius: 16px;
    z-index: 9999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translateY(120%) scale(0.95);
    pointer-events: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-text h4 {
    margin: 0 0 0.8rem 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cookie-text h4 i {
    color: var(--primary);
    font-size: 1.4rem;
}

.cookie-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.btn-cookie {
    padding: 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    justify-content: center;
}

.btn-decline {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #444;
}

.btn-decline:hover {
    background: #e9e9e9;
    border-color: #d0d0d0;
    color: #222;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        padding: 1.5rem;
    }
}

/* --- Mobile Menu and Language Switcher Refinements --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

header.sticky .menu-toggle {
    color: var(--dark);
}

.lang-switcher {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-left: 1rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

header.sticky .lang-btn {
    color: var(--dark);
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
}

header.sticky .lang-btn:hover,
header.sticky .lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
        order: 2;
    }

    .logo-area {
        order: 1;
    }

    .lang-switcher {
        order: 3;
        margin-left: 0.5rem;
    }

    nav#nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    nav#nav-menu.active {
        display: block;
    }

    nav#nav-menu ul {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    nav#nav-menu a {
        color: var(--dark) !important;
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }

    nav#nav-menu a i {
        color: var(--dark) !important;
    }
}

/* --- Inner Page Layout Styles --- */
.page-hero {
    min-height: 45vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: clamp(120px, 18vh, 160px);
    padding-bottom: 40px;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

.content-text {
    padding: 5rem 0;
    background-color: var(--white);
}

.content-text-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.content-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--dark-grey);
    line-height: 1.8;
}

.content-text strong {
    color: var(--dark);
    font-weight: 700;
}

.content-text ul {
    margin-bottom: 2.5rem;
    padding-left: 2rem;
    list-style-type: none;
}

.content-text ul li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: var(--dark-grey);
    position: relative;
    padding-left: 1.5rem;
}

.content-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}

.content-text h2 {
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--dark);
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.content-text h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    color: var(--dark);
}

/* Service Item details for Subpages */
.subpage-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.subpage-service-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-top: 3px solid var(--primary);
    transition: var(--transition);
}

.subpage-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.subpage-service-card .icon-wrap {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.subpage-service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.subpage-service-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #666;
}

/* --- Portfolio Grid Styles (from Estonian site) --- */
.portfolio-slider-wrapper {
    position: relative;
    margin-top: 15px;
    padding: 0 10px;
}

.portfolio-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 20px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.portfolio-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.portfolio-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 320px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    background: var(--white);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

.portfolio-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
}

.category-section {
    margin-bottom: 40px;
    padding-top: 20px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
}

.category-header i {
    font-size: 30px;
    color: var(--primary);
}

.category-header h2 {
    margin: 0;
    font-size: 28px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.slider-arrow.prev {
    left: -25px;
}

.slider-arrow.next {
    right: -25px;
}


@media (max-width: 991px) {
    .portfolio-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .portfolio-item {
        flex: 0 0 100%;
        min-width: 280px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        opacity: 0.8;
    }

    .slider-arrow.prev {
        left: 0px;
    }

    .slider-arrow.next {
        right: 0px;
    }
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-contact-item:hover {
    color: var(--primary);
}

.footer-contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #888;
    font-size: 0.9rem;
}

/* --- New Footer Grid Styles --- */
footer {
    background: #111;
    color: #eee;
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    text-align: left;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-contact-item:hover {
    color: var(--primary);
}

.footer-contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #888;
    font-size: 0.9rem;
}

/* --- Footer Alignment Overrides --- */
footer .logo-text {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
}

.footer-col,
.footer-col p,
.footer-col ul li {
    text-align: left !important;
}

.footer-contact-item {
    justify-content: flex-start !important;
}

.footer-col h4 {
    text-align: left !important;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col:first-child p {
    max-width: 300px;
}

/* --- Mobile Fixes --- */
.section-title {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.pricing-card.highlight {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 25px rgba(230, 74, 25, 0.08);
}

.pricing-card h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.pricing-card .time-slot {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.pricing-card .price {
    font-size: 3.5rem !important;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 600;
    color: #444;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed #eee;
    padding-top: 1.5rem;
}

.pricing-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
}

.pricing-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 2px;
}

.pricing-footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 28px !important;
    }
}

/* --- Mobile Polish Tweaks --- */
footer .logo-text {
    white-space: normal !important;
}

.social-btn.whatsapp {
    border-radius: 8px !important;
    justify-content: center;
    margin-bottom: 1.5rem;
    display: inline-flex !important;
    width: max-content;
    padding: 12px 24px;
}

@media (max-width: 768px) {
    .header-badges {
        display: none !important;
    }

    .logo-img {
        height: 35px !important;
    }

    .logo-text {
        font-size: 0.75rem !important;
        margin-left: 5px !important;
        padding-left: 5px !important;
        white-space: normal !important;
    }

    .header-inner {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center;
    }
    
    .logo-area {
        flex: 1;
        text-align: left;
        order: 1;
    }

    .menu-toggle {
        order: 2;
        margin: 0;
        display: block;
    }

    .lang-switcher {
        order: 3;
        flex: 0 0 100%;
        justify-content: center;
        margin: 10px 0 0 0 !important;
        display: flex;
        flex-direction: row !important;
        gap: 10px;
    }

    footer .logo-text {
        font-size: 1.1rem !important;
        word-break: break-word;
    }
}


/* Active Link Highlighting */
nav a.active-link {
    color: var(--primary) !important;
}

/* --- About Section --- */
.about-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.about-text .divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--dark-grey);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text .btn {
    margin-top: 1rem;
    display: inline-block;
}

.about-image {
    position: relative;
    padding: 0 2rem 2rem 0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 85%;
    height: 85%;
    background: var(--primary);
    z-index: 1;
    border-radius: 4px;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        padding: 0 15px 15px 0;
        margin-top: 2rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }
}

/* --- Portfolio Modal Styles --- */
.portfolio-item {
    cursor: pointer;
}

.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    will-change: opacity;
}

.portfolio-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 960px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 2001;
    transform: scale(0.96) translate3d(0,0,0);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.portfolio-modal.active .modal-container {
    transform: scale(1) translate3d(0,0,0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 10;
    color: var(--dark);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.modal-body {
    display: flex;
    flex-direction: row;
    height: 500px; /* fixed height for desktop scroll */
}

.modal-image-container {
    flex: 1.2;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-container {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    background: var(--white);
}

.modal-info-container h3 {
    font-size: 24px;
    margin: 10px 0 15px;
    color: var(--dark);
}

.modal-info-container p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-price {
    font-size: 18px !important;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 25px !important;
}

.modal-cta {
    align-self: flex-start;
    padding: 12px 24px;
    font-weight: 700;
}

/* Modal Responsiveness */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        height: auto;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .modal-image-container {
        height: 250px;
        flex: none;
    }
    
    .modal-info-container {
        padding: 25px;
        flex: none;
    }
}