/* Global Styles */
:root {
    --color-red: #FF0000;
    --color-teal: #008080;
    --color-black: #000000;
    --color-yellow: #FFFF00;
    --color-dark-grey: #1a1a1a;
    --color-light-grey: #f0f0f0;
    --color-white: #ffffff;
    --font-sans: 'Open Sans', 'Arial', sans-serif;
    --font-serif: 'Playfair Display', 'Times New Roman', serif;
    --font-display: 'Bebas Neue', cursive;
    --section-padding: 80px 0;
    --mobile-section-padding: 40px 0;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-light-grey);
    background-color: var(--color-black);
    overflow-x: hidden; /* Prevent horizontal scroll from chaotic elements */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden; /* Contains absolutely positioned elements */
    z-index: 1; /* Establishes stacking context */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-white);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
    z-index: 10; /* Ensure headings are above chaotic background */
    position: relative;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: var(--font-display);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-family: var(--font-serif); /* Mix it up */
    text-align: center;
    margin-bottom: 60px;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-family: var(--font-sans); /* Mix it up */
    font-weight: 700;
    color: var(--color-yellow);
}

p {
    margin-bottom: 1em;
    font-size: 1.1rem;
    color: var(--color-light-grey);
    line-height: 1.7;
}

a {
    color: var(--color-teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-red);
    text-decoration: underline;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.button:hover {
    background-color: var(--color-yellow);
    color: var(--color-dark-grey);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.button:hover::before {
    left: 0;
}

.section-description, .section-outro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    font-family: var(--font-serif);
    color: var(--color-teal);
    position: relative;
    z-index: 10;
}
.section-outro {
    margin-top: 60px;
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--color-light-grey);
}


/* Header & Navigation */
.header {
    background-color: var(--color-dark-grey);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--color-teal);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-yellow);
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    z-index: 101; /* Above toggle */
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-list a:hover {
    color: var(--color-teal);
    transform: scale(1.05);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-red);
    transition: width 0.3s ease-out;
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-yellow);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px;
}


/* HERO SECTION */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Compact height, but still impactful */
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--color-black) 0%, var(--color-dark-grey) 100%);
    padding: 100px 0;
}

.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none; /* Allows clicks to pass through */
    z-index: 1;
}

.hero-background-elements .bg-element {
    position: absolute;
    opacity: 1;.2;
    filter: grayscale(100%) blur(5px);
    mix-blend-mode: screen;
    animation: chaoticMove 30s infinite alternate ease-in-out;
}

.hero-background-elements .bg-element-1 {
    width: 400px;
    height: 300px;
    top: -50px;
    left: -100px;
    transform: rotate(20deg);
    animation-delay: 0s;
    opacity: 1;.15;
}
.hero-background-elements .bg-element-2 {
    width: 500px;
    height: 400px;
    bottom: -80px;
    right: -150px;
    transform: rotate(-30deg);
    animation-delay: 5s;
    opacity: 1;.25;
}
.hero-background-elements .bg-element-3 {
    width: 300px;
    height: 300px;
    top: 30%;
    left: 20%;
    background-color: var(--color-teal);
    border-radius: 50%;
    transform: scale(0.8) rotate(45deg);
    animation-delay: 10s;
    opacity: 1;.1;
}

@keyframes chaoticMove {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1;.15; }
    25% { transform: translate(10vw, 5vh) rotate(10deg) scale(1.1); opacity: 1;.2; }
    50% { transform: translate(0, 10vh) rotate(20deg) scale(0.9); opacity: 1;.1; }
    75% { transform: translate(-10vw, 5vh) rotate(-10deg) scale(1.05); opacity: 1;.25; }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1;.15; }
}


.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--color-teal);
    box-shadow: 0 0 30px var(--color-red);
}

.hero-title {
    color: var(--color-yellow);
    margin-bottom: 20px;
    font-size: clamp(3rem, 7vw, 5.5rem);
    text-shadow: 0 0 10px var(--color-red);
    animation: flickerText 2s infinite alternate;
}
@keyframes flickerText {
    0% { opacity: 1; text-shadow: 0 0 10px var(--color-red); }
    50% { opacity: 1;.9; text-shadow: 0 0 15px var(--color-yellow); }
    100% { opacity: 1; text-shadow: 0 0 10px var(--color-teal); }
}


.hero-subtitle, .hero-description {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--color-light-grey);
    margin-bottom: 1.5em;
    padding: 0 20px;
}
.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(240, 240, 240, 0.8);
}

/* SERVICES SECTION: FEATURE HIGHLIGHTS */
.services-section {
    background-color: var(--color-dark-grey);
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    border-top: 2px solid var(--color-red);
}

.services-section::before { /* Chaotic background element */
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--color-teal);
    transform: rotate(60deg) scale(1.2);
    opacity: 1;.15;
    z-index: 1;
}
.services-section::after { /* Chaotic background element */
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--color-yellow);
    border-radius: 50%;
    transform: rotate(-30deg) scale(0.8);
    opacity: 1;.1;
    z-index: 1;
}

.service-grid {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Space between alternating blocks */
    position: relative;
    z-index: 5; /* Ensure content is above chaotic backgrounds */
}

.service-block {
    display: flex;
    align-items: center;
    background-color: var(--color-black);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-teal);
}

.service-block::before { /* Overlapping design elements */
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-red);
    transform: rotate(45deg);
    opacity: 1;.8;
    z-index: 0;
}
.service-block::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 70px;
    height: 70px;
    background-color: var(--color-yellow);
    border-radius: 50%;
    opacity: 1;.7;
    z-index: 0;
}


.service-block-alt {
    flex-direction: row-reverse; /* Alternating layout */
    border: 1px solid var(--color-red);
}

.service-image {
    width: 45%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    margin: 0 40px; /* Space around image */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    filter: brightness(0.9) contrast(1.1);
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    z-index: 1;
}

.service-image:hover {
    transform: scale(1.02) rotate(-2deg);
    filter: brightness(1) contrast(1.2);
}

.service-content {
    flex: 1;
    z-index: 1;
}

.service-heading {
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: var(--color-yellow);
    font-family: var(--font-display);
    text-shadow: 0 0 5px var(--color-teal);
}

.service-text {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-light-grey);
    margin-bottom: 15px;
}


/* PORTFOLIO SECTION: FILTERABLE GALLERY */
.portfolio-section {
    background-color: var(--color-black);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    border-top: 2px solid var(--color-yellow);
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--color-red);
    clip-path: polygon(0 0, 100% 0, 75% 100%, 25% 100%);
    opacity: 1;.1;
    transform: rotate(15deg);
    z-index: 1;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.portfolio-filters .tab-button {
    background-color: var(--color-dark-grey);
    color: var(--color-white);
    padding: 12px 25px;
    border: 2px solid var(--color-teal);
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-filters .tab-button:hover {
    background-color: var(--color-teal);
    color: var(--color-black);
    border-color: var(--color-red);
    transform: translateY(-3px);
}

.portfolio-filters .tab-button.active {
    background-color: var(--color-yellow);
    color: var(--color-dark-grey);
    border-color: var(--color-red);
    box-shadow: 0 0 15px var(--color-yellow);
    animation: jumpyFilter 0.5s infinite alternate; /* Jumpy effect for active */
}

@keyframes jumpyFilter {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.portfolio-grid {
    position: relative;
    min-height: 400px; /* To prevent layout shift when tabs change */
}

.portfolio-grid .tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.portfolio-grid .tab-pane.active {
    display: block;
}

.portfolio-grid .grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 5;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: transform 0.3s ease-out;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-out, filter 0.4s ease-out;
    filter: brightness(0.8);
}

.portfolio-item:hover img {
    transform: scale(1.08) rotate(2deg);
    filter: brightness(1);
}

.portfolio-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--color-yellow);
    font-family: var(--font-sans);
    font-weight: 700;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* Cover the whole image initially */
}

.portfolio-item .overlay span {
    opacity: 1;
    transition: opacity 0.3s ease-out 0.1s;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--color-teal);
    color: var(--color-red);
}

.portfolio-item:hover .overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.portfolio-item:hover .overlay span {
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 1; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* TESTIMONIALS SECTION: CARD GRID */
.testimonials-section {
    background-color: var(--color-dark-grey);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    border-top: 2px solid var(--color-red);
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-color: var(--color-yellow);
    transform: rotate(30deg);
    opacity: 1;.1;
    z-index: 1;
}
.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background-color: var(--color-teal);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 1;.15;
    transform: rotate(-45deg);
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 5;
}

.testimonial-card {
    background-color: var(--color-black);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid var(--color-teal);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.testimonial-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    border-color: var(--color-red);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 0, 0, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--color-yellow);
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-light-grey);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--color-teal);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* SHOWCASE/HIGHLIGHTS: STATS SHOWCASE */
.showcase-section {
    background-color: var(--color-black);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    border-top: 2px solid var(--color-teal);
    overflow: hidden;
}

.showcase-section::before, .showcase-section::after {
    content: '';
    position: absolute;
    background-color: var(--color-red);
    opacity: 1;.1;
    z-index: 1;
    animation: rotateAndScale 20s infinite linear alternate;
}
.showcase-section::before {
    top: 10%;
    left: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
}
.showcase-section::after {
    bottom: 15%;
    right: -50px;
    width: 200px;
    height: 200px;
    transform: rotate(45deg);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: 5s;
}

@keyframes rotateAndScale {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 5;
}

.stat-item {
    background-color: var(--color-dark-grey);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-yellow);
    transition: transform 0.3s ease-out, background-color 0.3s ease-out;
}

.stat-item:hover {
    transform: scale(1.05);
    background-color: var(--color-dark-grey);
    border-color: var(--color-red);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--color-yellow);
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--color-teal);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* GALLERY SECTION: LIGHTBOX GALLERY */
.gallery-section {
    background-color: var(--color-dark-grey);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    border-top: 2px solid var(--color-red);
}
.gallery-section::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--color-teal);
    opacity: 1;.1;
    transform: rotate(30deg);
    z-index: 1;
}
.gallery-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -100px;
    width: 250px;
    height: 250px;
    background-color: var(--color-yellow);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    opacity: 1;.08;
    transform: rotate(-15deg);
    z-index: 1;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 5;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    border: 1px solid var(--color-teal);
    transition: transform 0.3s ease-out;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(-1deg);
    border-color: var(--color-red);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
    transition: filter 0.3s ease-out;
}

.gallery-item:hover img {
    filter: brightness(1);
}

.gallery-item::after {
    content: 'View';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background-color: rgba(255, 0, 0, 0.8);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 5px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    opacity: 1;
    transition: all 0.3s ease-out;
    letter-spacing: 1px;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    color: var(--color-red);
    transform: rotate(90deg);
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border: 5px solid var(--color-teal);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    animation: zoomIn 0.3s ease-out;
}

.lightbox-caption {
    color: var(--color-light-grey);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-top: 20px;
    max-width: 80%;
    text-align: center;
    padding: 0 20px;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 1; }
    to { transform: scale(1); opacity: 1; }
}


/* NEWSLETTER SECTION: CENTERED SIGNUP (Conceptual) */
.newsletter-section {
    background-color: var(--color-black);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    border-top: 2px solid var(--color-yellow);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/image_27.jpg') no-repeat center center;
    background-size: cover;
    opacity: 1;.07;
    filter: blur(3px);
    mix-blend-mode: screen;
    z-index: 1;
}

.newsletter-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 30px var(--color-teal);
    border: 1px solid var(--color-red);
    position: relative;
    z-index: 5;
}

.newsletter-description {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-teal);
    margin-bottom: 30px;
    line-height: 1.8;
}

.newsletter-benefits {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-light-grey);
    margin-bottom: 40px;
}

.newsletter-content .cta-button {
    background-color: var(--color-yellow);
    color: var(--color-dark-grey);
    border: 1px solid var(--color-yellow);
}
.newsletter-content .cta-button:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

/* CONTACT SECTION: SOCIAL FOCUS (Conceptual) */
.contact-section {
    background-color: var(--color-dark-grey);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    border-top: 2px solid var(--color-red);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/image_28.jpg') no-repeat center center;
    background-size: cover;
    opacity: 1;.05;
    filter: blur(2px);
    mix-blend-mode: overlay;
    z-index: 1;
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--color-yellow);
    border: 1px solid var(--color-teal);
    position: relative;
    z-index: 5;
}

.contact-description, .contact-cta {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-light-grey);
    margin-bottom: 25px;
    line-height: 1.8;
}

.contact-content .cta-button {
    background-color: var(--color-teal);
    color: var(--color-white);
    border: 1px solid var(--color-teal);
}
.contact-content .cta-button:hover {
    background-color: var(--color-red);
    border-color: var(--color-red);
}

/* Footer */
.footer {
    background-color: var(--color-black);
    color: var(--color-light-grey);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 2px solid var(--color-yellow);
    position: relative;
    z-index: 10;
}

.footer-content p {
    margin: 5px 0;
    color: var(--color-light-grey);
    font-family: var(--font-sans);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.8rem; }
    h3 { font-size: 2rem; }
    p { font-size: 1rem; }
    .section-description, .section-outro { font-size: 1rem; }

    .service-block, .service-block-alt {
        flex-direction: column;
        text-align: center;
    }
    .service-image {
        width: 80%;
        margin: 0 auto 30px;
    }
    .service-content {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .header { padding: 15px 0; }
    .nav-list {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-dark-grey);
        border-top: 2px solid var(--color-teal);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        padding: 20px;
        transform: translateY(-100%) scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease-out;
        opacity: 1;
        visibility: hidden;
    }
    .nav-list.active {
        transform: translateY(0) scaleY(1);
        opacity: 1;
        visibility: visible;
    }
    .nav-list li {
        margin: 10px 0;
        text-align: center;
    }
    .menu-toggle {
        display: block;
    }

    .hero-section { min-height: 60vh; padding: 80px 0; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle, .hero-description { font-size: 1.1rem; }

    section { padding: var(--mobile-section-padding); }
    h2 { margin-bottom: 40px; }

    .testimonials-grid, .stats-grid, .gallery-grid, .portfolio-grid .grid-layout {
        grid-template-columns: 1fr;
    }

    .testimonial-card, .stat-item, .gallery-item, .portfolio-item {
        padding: 25px;
    }
    .stat-number { font-size: 3.5rem; }
    .stat-label { font-size: 1.1rem; }

    .newsletter-content, .contact-content {
        padding: 30px;
    }
    .newsletter-description, .contact-description, .contact-cta {
        font-size: 1.1rem;
    }
    .newsletter-benefits {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .site-logo { font-size: 2rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 2.2rem; margin-bottom: 30px; }
    h3 { font-size: 1.6rem; }
    .button { padding: 12px 25px; font-size: 0.9rem; }
    .section-description, .section-outro { margin-bottom: 30px; font-size: 0.9rem;}
    .hero-subtitle, .hero-description { font-size: 0.95rem; }

    .portfolio-filters {
        gap: 10px;
        margin-bottom: 30px;
    }
    .portfolio-filters .tab-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    .portfolio-item .overlay span {
        font-size: 1.1rem;
    }
    .lightbox-close { font-size: 2.5rem; top: 10px; right: 20px; }
    .lightbox-caption { font-size: 1rem; }
}


/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Universal Icon Fixes for Buttons */
button svg, .carousel-next svg, .carousel-prev svg, .slider-next svg, .slider-prev svg,
.next svg, .prev svg, .tab-button svg, .tab-btn svg {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

button i, .carousel-next i, .carousel-prev i, .slider-next i, .slider-prev i,
.next i, .prev i, .tab-button i, .tab-btn i {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    font-style: normal;
}

button .icon, .carousel-next .icon, .carousel-prev .icon,
.slider-next .icon, .slider-prev .icon, .tab-button .icon {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
}

/* Ensure carousel buttons are clickable even with icons */
.carousel-next, .carousel-prev, .slider-next, .slider-prev,
.next, .prev, .next-btn, .prev-btn {
    cursor: pointer;
    position: relative;
}

.carousel-next *, .carousel-prev *, .slider-next *, .slider-prev *,
.next *, .prev *, .next-btn *, .prev-btn * {
    pointer-events: none;
}

/* Tab button icon fixes */
.tab-button, .tab-btn, .tab {
    cursor: pointer;
    position: relative;
}

.tab-button *, .tab-btn *, .tab * {
    pointer-events: none;
}

/* Ensure icons don't block clicks */
button > svg, button > i, button > .icon,
.carousel-next > svg, .carousel-prev > svg,
.tab-button > svg, .tab-button > i {
    pointer-events: none !important;
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Accessibility focus outlines */
:focus{outline:2px solid #5ac8fa;outline-offset:2px;}
:focus:not(:focus-visible){outline:none;}
