/*
Theme Name: O Jardim Florista
Author: Antigravity
Description: Um tema limpo e moderno para floristas, com tons de rosa e verde claro.
Version: 1.0
Text Domain: ojardimflorista
*/

:root {
    --color-primary: #2F5D50;
    --color-primary-light: #4F7F71;
    --color-secondary: #E6C79C;
    --color-secondary-dark: #cdac7d;
    --color-accent: #C94B4B;

    --color-background: #FFFFFF;
    --color-surface: #F7F7F5;

    --color-text-primary: #2A2A2A;
    --color-text-secondary: #6B6B6B;
    --color-text-white: #FFFFFF;
    --color-text-black: #000000;

    --color-border: #E5E5E5;

    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Libre Bodoni', serif;
    --spacing-unit: 1rem;
    --header-height: 72px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);

    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 0px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    border: 2px solid var(--color-primary-light);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-white);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
    border: 2px solid var(--color-secondary-dark);
}

/* Typography */
h1,
h2,
h3 {
    margin-bottom: 1rem;
    font-weight: 700;
    color: #2c3e50;
}

p {
    margin-bottom: 1rem;
}

/* Header */
.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.site-header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background-color: transparent;
    /* Transparent initially */
}

.site-header.scrolled {
    background-color: var(--color-primary);
    /* Primary color on scroll */
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-branding {
    text-align: left;
    z-index: 1002;
}

.site-branding a {
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 48px;
    /* Adjust based on header height, user can tweak */
    width: auto;
    display: block;
    filter: invert(100%) brightness(50);
}

/* Veggie Burger Toggle */
.menu-toggle {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 24px;
    padding: 0;
    position: relative;
    /* Ensure z-index works */
    z-index: 1005;
    /* Ensure it's above the overlay (1002) */
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 1pt;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Middle bar shorter */
.menu-toggle .bar:nth-child(2) {
    width: 70%;
    margin-left: auto;
    /* Align right */
}

/* Veggie Burger / Close Animation */
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Full Screen Overlay Navigation */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(47, 93, 80, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    z-index: 1002;
}

.main-navigation.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    /* Slide up to fill */
}

.main-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 0;
}

.main-navigation a {
    font-size: 2.5rem;
    /* Large text */
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-secondary);
    transform: translateX(-101%);
    transition: transform 0.3s ease;
}

.main-navigation a:hover::after {
    transform: translateX(0);
}

.main-navigation a:hover {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .main-navigation a {
        font-size: 1.8rem;
        /* Smaller on mobile */
    }
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    /* Use primary green */
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.9rem;
    border-top: 5px solid var(--color-secondary);
    /* Gold/Beige accent on top */
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    text-align: left;
}

.footer-col h3 {
    color: var(--color-secondary);
    /* Gold/Beige headings */
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

/* Footer Socials */
.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
    border-radius: 50%;
    /* Rounded icons match theme better usually */
}

.footer-social-icons a:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background-color: rgba(255, 255, 255, 0.05);
}

.privacy-check {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
}

/* Footer Links */
.footer-nav ul,
.footer-col ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-nav li,
.footer-books a,
.footer-contacts-link a {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0;
    transition: all 0.3s;
}

.footer-nav li a:hover,
.footer-books a:hover,
.footer-contacts-link a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
    /* Slight movement */
}

.footer-books {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.book-compliments {
    color: var(--color-secondary) !important;
    /* Gold/Beige highlight */
    font-weight: bold;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

.footer-logo-prr {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo-prr img {
    display: inline-block;
    max-width: 250px;
    margin: 0 auto;
}



/* Home Page Hero */
.hero-section {
    background-color: var(--color-primary);
    /* Dark Green */
    padding: 0;
    /* Full bleed */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    /* Full bleed, behind header */
}

.hero-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100%;
}

/* Left Side (Text) */
.hero-text-side {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align relative to padding */
    padding-left: max(20px, calc((100vw - 1200px) / 2 + 20px));
    /* Align with standard container */
    padding-right: 40px;
}

/* Adjust padding when text is on the right side (e.g. Sobre page) */
.hero-image-side+.hero-text-side {
    padding-left: 40px;
    padding-right: max(20px, calc((100vw - 1200px) / 2 + 20px));
}

.hero-text-inner {
    max-width: 600px;
    color: #fff;
    text-align: left;
}

.hero-text-inner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #fff;
}

.hero-text-inner p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Right Side (Image) */
.hero-image-side {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* No shadow for full bleed usually, or maybe internal shadow? keeping plain for now */
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-square {
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 15px 30px;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--color-primary);
}

@media (max-width: 992px) {
    .hero-text-side {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    .hero-split-layout {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
    }

    .hero-text-side {
        padding: 120px 20px 60px;
        /* Top padding for header space */
        justify-content: center;
        text-align: center;
        order: 1;
        /* Text first */
    }

    .hero-text-inner {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-side {
        height: 50vh;
        /* Half screen height for image on mobile */
        order: 2;
    }

    .hero-text-inner h1 {
        font-size: 2.5rem;
    }
}

/* Sticky Stacking Features Section */
.sticky-features-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.sticky-feature {
    display: flex;
    position: sticky;
    top: var(--header-height);
    /* Stick below header */
    height: calc(100vh - var(--header-height));
    width: 100%;
    align-items: center;
    background-color: #fff;

    /* Full Screen Stacking Styles */
    /* box-shadow removed as requested */
    margin-bottom: 0;
    overflow: hidden;
    transform-origin: center top;
    transition: transform 0.1s ease-out;
}

.sticky-feature.reverse-layout {
    flex-direction: row-reverse;
}

.feature-image-container {
    width: 50%;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.parallax-img {
    width: 100%;
    height: 100%;
    /* Fill container */
    background-size: cover;
    background-position: center;
    /* Remove absolute/parallax transform logic as sticky handles the focus */
}

.feature-text {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    height: 100%;
}

.feature-text h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    color: #e6b3b3;
}

.feature-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .sticky-features-container {
        padding: 0 15px;
        /* Less padding on mobile */
        margin: 20px auto;
    }

    .sticky-feature {
        position: relative;
        top: auto;
        height: auto;
        flex-direction: column;
        border-radius: 20px;
        margin-bottom: 30px;
        /* Separate styled cards on mobile */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .sticky-feature.reverse-layout {
        flex-direction: column;
    }

    .feature-image-container {
        width: 100%;
        height: 250px;
        /* Fixed height for image */
    }

    .feature-text {
        width: 100%;
        padding: 30px 20px;
        height: auto;
    }

    .feature-text h2 {
        font-size: 2rem;
    }
}

/* Page Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {

    .hero-container,
    .grid-2 {
        grid-template-columns: 1fr;
        flex-direction: column;
        display: flex;
    }
}

/* About Page */
.image-placeholder-large {
    width: 100%;
    height: 500px;
    background-color: #e9ecef;
    border-radius: 10px;
    background-image: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
}

/* Contact Page */
.contact-details {
    margin-top: 30px;
}

.contact-details li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.simple-contact-form {
    padding: 40px 0 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input {
    height: 50px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #fff;
    /* White border for contrast */
    background: rgba(255, 255, 255, 0.1);
    /* Slight white tint */
    border-radius: 0px;
    font-family: inherit;
    color: #fff;
    /* White text */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
    /* Lighter white for placeholder */
}

.form-group textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    /* Primary Green on focus */
    background: #fff;
    color: #000;
}

.map-section {
    margin: 60px;
}

/* Page Hero (Subpages) */
.page-hero {
    background-color: var(--color-primary);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}

.page-hero h1 {
    font-size: 3rem;
    margin: 0;
    color: #fff;
}

/* About Page Restructure */
/* About Page Restructure */
.section-title-underlined {
    font-size: 2rem;
    color: var(--color-primary);
    /* Use theme color */
    border-bottom: 2px solid var(--color-secondary);
    /* Green accent */
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: inline-block;
    width: 100%;
}


/* Info Cards */
.info-card {
    background-color: #f7f7f7;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-header {
    background-color: #8bbf57;
    /* Matches image green */
    color: #fff;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.card-body {
    padding: 20px;
}

.card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-body li {
    margin-bottom: 10px;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.card-body li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-split-layout {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax-like effect */
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Darken bg */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-content h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* White Button Variant */
.btn-white {
    background-color: #fff;
    color: var(--color-primary);
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* About Page Gallery Section */

.about-section {
    padding: 60px 0;
}


.about-intro-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.section-slider-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    /* Full Height minus header */
    background-color: var(--color-surface);
}

.about-text-side {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-slider-side {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Ensure slider doesn't overflow grid cell */
}

/* Adjust slider container for the split view */
.about-slider-side .gallery-slider-container {
    height: 100%;
    max-width: none;
    /* Remove limit */
    margin: 0;
}

.about-slider-side .gallery-slider-track {
    height: 100%;
    margin-bottom: 0;
}

.about-slider-side .gallery-slide {
    height: 100%;
    aspect-ratio: auto;
    /* Let height define it or object-fit */
}

.about-slider-side .gallery-img {
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .section-slider-gallery {
        grid-template-columns: 1fr;
    }

    .about-text-side {
        padding: 60px 20px;
        order: 1;
        /* Text First */
    }

    .about-slider-side {
        height: 50vh;
        /* Half height on mobile */
        order: 2;
        /* Slider Second */
    }
}

.gallery-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-bottom: 20px;
    -ms-overflow-style: none;
}

.gallery-slider-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 100%;
    /* Single slide view */
    aspect-ratio: 16 / 9;
    /* More cinematic for single view, adjust as needed */
    scroll-snap-align: start;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ddd;
    animation: pulse-bg 2s infinite;
}

.slide-placeholder.delay-1 {
    animation-delay: 0.5s;
    background-color: #e5e5e5;
}

.slide-placeholder.delay-2 {
    animation-delay: 1s;
    background-color: #eee;
}

@keyframes pulse-bg {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.8;
    }
}

/* Controls Footer */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid transparent;
}

/* Dots */
.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border-radius: 50%;
    display: block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: var(--color-primary);
}

/* Arrows */
.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-nav {
    background: transparent;
    border: 1px solid var(--color-text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background-color: var(--color-text-primary);
    color: #fff;
}

.slider-nav {
    z-index: 10;
    position: relative;
}

@media (max-width: 768px) {
    .gallery-slide {
        flex: 0 0 80vw;
    }

    .gallery-controls {
        padding: 10px 20px;
    }
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contact Page Refactor */
.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 100vh;
    /* Adjusted Height */
    background-color: var(--color-surface);
}

.contact-info-side {
    padding: 90px 60px;
    /* Clear Header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-primary);
    /* Green Background */
    color: #fff;
}

.contact-form-side {
    padding: 80px 60px;
    /* Clear Header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-primary-light);
    /* Green Background */
    color: #fff;
}



.contact-info-full-width {
    width: 100%;
    /* margin-bottom 40px removed as side padding handles spacing */
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: 100%;
}

.contact-card {
    grid-column: span 1;
    background-color: transparent;
    /* Seamless Green */
    padding: 15px;
    /* Reduced Padding */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle Border */
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
    /* Let it size to content, grid stretches items */
}

.contact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
    /* Slight highlight */
    border-color: rgba(255, 255, 255, 0.5);
}

.card-icon {
    font-size: 1.2rem;
    /* Smaller Icon */
    color: var(--color-secondary);
    margin-right: 15px;
    /* Reduced Margin */
    margin-bottom: 0;
    min-width: 40px;
    /* Smaller Dimensions */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-card-content {
    flex: 1;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--color-secondary);
    /* Gold Title */
}

.contact-card p,
.contact-card a,
.contact-card span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    /* White Text */
    line-height: 1.6;
}

.contact-card .small-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.social-links-card {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

/* Services Page Refactor */
.services-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 100vh;
    background-color: var(--color-surface);
}

.service-content-side {
    padding: 80px 60px;
    /* Clear Header if first */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-primary);
    /* Green BG */
    color: #fff;
}

.service-image-side {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.service-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.service-card-item {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    transition: all 0.3s ease;
}

.service-card-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.service-card-item h3 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.service-card-item .small-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.section-title-white {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
}

.section-title-white::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
}

@media (max-width: 1024px) {
    .services-split-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .service-content-side {
        padding: 60px 20px;
        order: 2;
        /* Content below image usually */
    }

    .service-image-side {
        height: 50vh;
        order: 1;
        /* Image first */
    }

    /* Specific reverse for mobile if needed, or uniform stacking */
    .service-reverse-mobile .service-content-side {
        padding-top: calc(40px + var(--header-height));
        /* Top section clears header */
    }
}

.social-links-card a:hover {
    color: var(--color-secondary);
}

/* Square Form Styles */
.contact-form-wrapper {
    max-width: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Force grid items to stretch to equal height */
.contact-section .grid-2 {
    align-items: stretch;
}

.btn-square-form {
    border-radius: 0 !important;
    padding: 15px 40px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: var(--color-primary);
    border: none;
    width: 100%;
    margin-top: 20px;
    color: white;
}

.btn-square-form:hover {
    background-color: var(--color-primary-light, #a0c26e);
    /* Fallback color if variable missing */
}

@media (max-width: 1200px) {
    .contact-card {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {


    .contact-info-side {
        padding: 40px 20px;
        padding-top: calc(40px + var(--header-height));
    }

    .contact-form-side {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-card {
        grid-column: span 1;
    }

    .form-row {
        flex-direction: column;
        gap: 0 !important;
    }
}

/* RAL Entities */
.ral-entities-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.ral-entity-card {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-items: center;
}

.ral-entity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ral-entity-logo {
    flex: 0 0 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ral-entity-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.ral-entity-info {
    flex: 1;
}

.ral-entity-info h3 {
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}

.ral-entity-info p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #333;
}

.ral-entity-info a {
    font-size: 0.9rem;
    color: var(--color-brown);
    text-decoration: underline;
}

.ral-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ral-footer p {
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .ral-entity-card {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .ral-entity-logo {
        flex: 0 0 auto;
        width: 100px;
    }
}