/* ===== ROOT VARIABLES ===== */
:root {
    /* Brand Colors */
    --color-primary: #06373B; /* Deep teal */
    --color-secondary: #FC832B; /* Orange accent */
    --color-dark: #231f20; /* Dark text */
    --color-light: #f7f8f8; /* Off-white */
    --color-white: #ffffff;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-max-width: 1400px;

    /* Transitions */
    --transition-base: 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    color: var(--color-dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding);
}

.section-gray {
    background-color: var(--color-light);
}

.section-dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section-accent {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.section__title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-dark);
}

.section-dark .section__title {
    color: var(--color-white);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

/* ===== HEADER / NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url('../brand/belfast.avif');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 100;
    transition: var(--transition-base);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 77, 0.85) 0%, rgba(42, 109, 109, 0.82) 100%);
    z-index: -1;
}

.nav {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.nav__logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
}

.logo-img {
    height: 100px;
    width: auto;
}

.nav__list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-size: 17px;
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-secondary);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.nav__toggle-icon,
.nav__toggle-icon::before,
.nav__toggle-icon::after {
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition-base);
}

.nav__toggle-icon {
    position: relative;
}

.nav__toggle-icon::before,
.nav__toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav__toggle-icon::before {
    top: -10px;
}

.nav__toggle-icon::after {
    top: 10px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../brand/belfast.avif');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    margin-top: 0;
    padding-top: 100px;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 77, 0.85) 0%, rgba(42, 109, 109, 0.82) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 2rem;
}

.hero__title {
    font-size: clamp(1.3rem, 4vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.25rem;
    font-weight: var(--font-weight-regular);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.about__title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.about__definition-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.about__definition-meaning {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-dark);
    text-align: justify;
}

.about__text {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

/* ===== SERVICES SECTION ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service__card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service__icon {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.service__title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.service__list {
    list-style: none;
}

.service__list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    color: #555;
    text-align: justify;
}

.service__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* ===== CONTACT CTA SECTION ===== */
.contact-cta__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta__title {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
}

.contact-cta__text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-align: justify;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 3rem 0 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__logo {
    max-width: 380px;
    margin-bottom: 1.5rem;
}

.footer__title {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer__info {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.footer__info a {
    color: var(--color-secondary);
}

.footer__info a:hover {
    text-decoration: underline;
}

.footer__nav li {
    margin-bottom: 0.75rem;
}

.footer__nav a:hover {
    color: var(--color-secondary);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer__legal a:hover {
    color: var(--color-secondary);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a6d6d 100%);
    color: var(--color-white);
    padding: calc(8rem + 100px) 0 4rem;
    margin-top: 0;
    text-align: center;
}

.page-header--with-background {
    position: relative;
    background-image: url('../brand/belfast.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-header__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 77, 0.85) 0%, rgba(42, 109, 109, 0.82) 100%);
    z-index: 1;
}

.page-header--with-background .container {
    position: relative;
    z-index: 2;
}

.page-header__title {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.page-header__subtitle {
    font-size: 1.25rem;
    font-weight: var(--font-weight-regular);
}

.page-header--extended {
    padding: 8rem 0 5rem;
}

.page-header__description {
    font-size: 1.1rem;
    font-weight: var(--font-weight-regular);
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
    text-align: justify;
}

/* ===== TEAM SECTION ===== */
.team__content {
    max-width: 1000px;
    margin: 0 auto;
}

.team__member {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.team__image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team__image img {
    width: 100%;
    height: auto;
    display: block;
}

.team__name {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.team__role {
    font-size: 1.2rem;
    color: var(--color-secondary);
    font-weight: var(--font-weight-medium);
    margin-bottom: 1.5rem;
}

.team__bio {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    text-align: justify;
}

.team__credentials {
    margin-top: 2rem;
}

.team__credentials h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.team__credentials ul {
    list-style: none;
}

.team__credentials li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    text-align: justify;
}

.team__credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* ===== VALUES SECTION ===== */
.values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value__card {
    padding: 2rem;
}

.value__title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.value__text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* ===== SERVICE DETAILS ===== */
.service-detail {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.service-detail__title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-detail__text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--color-dark);
    text-align: justify;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    overflow: hidden;
}

.testimonials__carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

.testimonials__track {
    position: relative;
    width: 100%;
}

.testimonial__card {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}

.testimonial__card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    pointer-events: auto;
}

.testimonial__content {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial__quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 2rem;
    font-style: italic;
    text-align: justify;
}

.testimonial__author {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-light);
}

.testimonial__name {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.testimonial__company {
    font-size: 0.95rem;
    color: #666;
}

/* Navigation Arrows */
.testimonials__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-white);
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonials__nav:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.testimonials__nav--prev {
    left: 0;
}

.testimonials__nav--next {
    right: 0;
}

/* Dot Navigation */
.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.testimonials__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0;
}

.testimonials__dot:hover {
    background-color: #bbb;
}

.testimonials__dot.active {
    background-color: var(--color-secondary);
    transform: scale(1.3);
}

/* ===== CONTACT PAGE ===== */
.contact__wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.contact__form-section {
    background-color: var(--color-white);
}

/* ===== CONTACT FORM ===== */
.contact__form {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.5rem;
    color: var(--color-dark);
    font-size: 0.95rem;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
    background-color: var(--color-white);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #999;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(252, 131, 43, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 150px;
}

.form__footer {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.form__privacy {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    text-align: justify;
}

.form__privacy a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.05rem;
}

/* ===== THANK YOU PAGE ===== */
.thank-you {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 6rem;
    margin-top: 100px;
    background-color: var(--color-light);
}

.thank-you__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--color-white);
    padding: 4rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.thank-you__icon {
    color: var(--color-secondary);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.thank-you__title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.thank-you__message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.thank-you__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.thank-you__info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.thank-you__info-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    text-align: justify;
}

.thank-you__info-text a {
    color: var(--color-secondary);
    font-weight: var(--font-weight-medium);
}

.thank-you__info-text a:hover {
    text-decoration: underline;
}

/* ===== ADDITIONAL INFO SECTION ===== */
.info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.info__card {
    text-align: center;
}

.info__title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.info__text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (1024px and below) */
@media screen and (max-width: 1024px) {
    :root {
        --section-padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav__list {
        gap: 1.5rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team__member {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .info__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile/Tablet (1024px and below) */
@media screen and (max-width: 1024px) {
    :root {
        --section-padding: 3rem 0;
    }

    .nav {
        height: 70px;
        justify-content: flex-start;
        padding: 0 1rem;
    }

    .header {
        background-attachment: scroll;
        background-position: center top;
    }

    .nav__logo {
        position: static;
        max-width: calc(100% - 80px); /* Reserve space for burger */
    }

    .logo-img {
        height: 60px;
        max-width: 100%;
        object-fit: contain;
    }

    .nav__toggle {
        position: absolute;
        right: 1rem;
        flex-shrink: 0;
    }

    .container {
        padding: 0 1rem;
    }

    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: transparent;
        background-image: url('../brand/belfast.avif');
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        padding: 2rem;
        transition: var(--transition-base);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav__menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(26, 77, 77, 0.95);
        z-index: -1;
    }

    .nav__menu.show-menu {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .nav__item {
        width: 100%;
    }

    .nav__link {
        padding: 1rem 0;
        display: block;
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        margin-top: 0;
        padding-top: 70px;
        min-height: 80vh;
    }

    .page-header {
        margin-top: 0;
        padding: calc(6rem + 70px) 0 3rem;
    }

    .page-header__title {
        font-size: 2rem;
    }

    .page-header__subtitle {
        font-size: 1rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .about__title {
        font-size: 2rem;
    }

    .contact-cta__title {
        font-size: 2rem;
    }

    .team__name {
        font-size: 1.5rem;
    }

    .team__role {
        font-size: 1rem;
    }

    .contact__main-title {
        font-size: 1.75rem;
    }

    .contact__form {
        padding: 2rem 1.5rem;
    }

    .form__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

    .thank-you {
        margin-top: 70px;
        padding: 6rem 1rem 4rem;
    }

    .thank-you__content {
        padding: 3rem 2rem;
    }

    .thank-you__title {
        font-size: 1.75rem;
    }

    .thank-you__actions {
        flex-direction: column;
    }

    .thank-you__actions .btn {
        width: 100%;
    }

    /* Disable parallax on mobile for better performance */
    .hero,
    .page-header--with-background {
        background-attachment: scroll;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Testimonials responsive */
    .testimonials__carousel {
        padding: 0 2.5rem;
    }

    .testimonial__content {
        padding: 2rem 1.5rem;
    }

    .testimonial__quote {
        font-size: 1.05rem;
    }

    .testimonials__nav {
        width: 40px;
        height: 40px;
    }

    .testimonials__nav svg {
        width: 20px;
        height: 20px;
    }
}
