/* Reset and base styles */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Birthstone+Bounce:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Upright:wght@300;400;500;600;700&display=swap');


/* Font Definition */
@font-face {
  font-family: 'Joshico';
  src: url('fonts/Joshico/Joshico-Regular.otf') format('opentype'),
       url('fonts/Joshico/Joshico-Regular.ttf') format('truetype'); /* Optional TTF fallback */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Improve perceived performance */
}

@font-face {
  font-family: 'Coco Gothic';
  src: url('fonts/Coco_Gothic/Coco-Gothic-Light-trial.ttf') format('truetype');
  font-weight: 300; /* Light */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Coco Gothic';
  src: url('fonts/Coco_Gothic/Coco-Gothic-Regular-trial.ttf') format('truetype');
  font-weight: 400; /* Regular */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Coco Gothic';
  src: url('fonts/Coco_Gothic/Coco-Gothic-Bold-trial.ttf') format('truetype');
  font-weight: 700; /* Bold */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Catchy Mager';
  src: url('fonts/Catchy_Mager/catchy-mager.regular.otf') format('opentype'),
       url('fonts/Catchy_Mager/catchy-mager.regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



:root {
    --primary-color: #91add4;
    --secondary-color: #623e2a;
    --tertiary-color: #ffffff;

    --background-color: #f4f1ed;
    --primary-font: 'Birthstone Bounce'; /* Changed to Birthstone Bounce */
    /* --secondary-font: 'Coco Gothic'; Define secondary font variable */
    --secondary-font: 'Montserrat'; /* Define secondary font variable */
    --catchy-font: 'Cormorant Upright'; /* Define Catchy Mager font variable */
}

.third-font {
    font-family: var(--catchy-font);
    font-size: 32px !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    /* Disable common ligatures and contextual alternates */
    font-feature-settings: "liga" 0, "calt" 0;
    font-weight: 400;
    /* Or using newer properties (less direct control sometimes) */
    /* font-variant-ligatures: no-common-ligatures no-contextual; */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--background-color);
    font-weight: 500;
    font-family: var(--secondary-font);
}

body.mobile-nav-open {
    overflow: hidden; /* Prevent scrolling when mobile menu is open */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Animation classes - Can be used later if needed */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Styles */
.hero-section {
    /* height: 100vh; /* Changed to min-height */
    min-height: 100vh; /* Ensure it fills viewport but allows scrolling */
    background-image: url('Images/intro_section-1_Background.jpeg'); /* Adjusted path if needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--tertiary-color);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 1;
    opacity: 0.7;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.logo {
    position: absolute;
    top: 70px;
    right: 30px;
    z-index: 3;
}

.logo-img {
    width: 250px;
    height: auto;
    opacity: .7;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--tertiary-color);
    max-width: 800px;
    padding: 0 20px;
}

.welcome-text {
    font-size: 2.2rem;
    letter-spacing: 5px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: var(--secondary-font);
}

.location-name {
    /* font-family: 'Dancing Script', cursive; */
    font-family: var(--primary-font);
    font-size: 6rem;
    font-weight: 700; /* Keep bold if needed for this specific element */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subtitle {
    margin-bottom: 3rem;
}

.subtitle p {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
}

.cta-container {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--secondary-color);
    border: none;
    padding: .8rem 4rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

/* Section General Styles */
.section {
    padding: 80px 0;
}

/* Introduction Section Styles */
.intro-section {
    background-color: var(--background-color); /* Adjusted background for closer match */
    /* padding: 80px 0; /* Handled by .section */
}

.intro-content {
    max-width: none; /* Slightly reduced max-width */
    margin: 0 auto;
    padding: 0 50px; /* Adjusted padding */
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Adjusted column ratio */
    gap: 50px; /* Adjusted gap */
    align-items: center;
}

.intro-title {
    /* font-family: 'Dancing Script', cursive; */
    font-family: var(--primary-font);
    font-size: 4.8rem; /* Slightly increased font size */
    color: var(--primary-color); /* Light blue color */
    text-align: left;
    margin-bottom: 35px; /* Adjusted margin */
    line-height: 1.1;
    grid-column: 1 / 4;
}

.intro-subtitle-custom {
    font-family: var(--catchy-font);
    font-size: 2.5rem; /* Adjust as needed */
    color: var(--secondary-color); /* Or primary, depending on design */
    text-align: left;
    margin-bottom: 25px; /* Space below this subtitle */
    line-height: 1.3;
}

.intro-text p {
    font-size: 1.05rem; /* Slightly adjusted font size */
    color: var(--secondary-color); /* Slightly darker text */
    line-height: 1.75; /* Adjusted line height */
    margin-bottom: 18px; /* Adjusted margin */
}

.intro-image img {
    border-radius: 5px; /* Slightly adjusted rounding */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* Adjusted shadow */
    width: 100%; /* Ensure image scales */
    height: auto;
}

.image-item img {
    object-fit: cover ;
}
/* Image-Text Section General Styles */
.image-text-section {
    background-color: var(--background-color);
    /* padding: 80px 0; /* Handled by .section */
}

.image-text-content {
    max-width: none;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Image left, Text right */
    gap: 50px;
    align-items: center;
}

/* Specific style for sections where image is on the right */
.image-text-content.image-right {
    grid-template-columns: 1.1fr 0.9fr; /* Text left, Image right */
}

.section-image img {
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    height: auto;
}

/* General Styled Title (Dancing Script, Blue) */
.styled-title {
    /* font-family: 'Dancing Script', cursive; */
    font-family: var(--primary-font);
    font-size: 4.8rem;
    color: var(--primary-color); /* Light blue color */
    text-align: left;
    margin-bottom: 35px;
    line-height: 1.1;
    font-weight: 400; /* Use regular weight consistently */
}

.section-text p {
    font-size: 1.05rem;
    color: var(--secondary-color);
    line-height: 1.75;
    margin-bottom: 18px;
}

/* Feature Gallery Section (Centrální místnost, Ložnice) */
.feature-gallery-section {
    background-color: var(--background-color);
    /* padding: 80px 0; /* Handled by .section */
}

.gallery-content {
    max-width: none;
    margin: 0 auto;
    padding: 0 50px;
    text-align: center;
}

.styled-title.centered-title {
    text-align: center;
    width: 100%;
    margin-bottom: 50px; /* More space below title */
    /* font-weight: 400; /* Handled by base .styled-title */
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Gap between images */
    margin-bottom: 30px; /* Gap between images and text */
}

.image-item img {
    width: 100%;
    max-height: 340px;
    height: auto;
    display: block;
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Gap between text boxes */
    text-align: left;
}

.text-item {
    border: 1px solid var(--secondary-color); /* Light border similar to image */
    padding: 25px;
    border-radius: 0;
    background-color: var(--background-color); /* White background for text boxes */
}

.text-item p {
    font-size: 1rem; /* Adjusted font size */
    color: var(--secondary-color);
    line-height: 1.65; /* Adjusted line height */
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* Styles for the new gallery structure */
.gallery-items-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 30px; /* Gap between gallery items */
}

.gallery-item {
    display: flex; /* Use flexbox to arrange image and text within the item */
    flex-direction: column; /* Stack image and text by default */
    /* Add any desired styling for the container of each image/text pair */
    gap: 35px;
}

.gallery-item .image-item img {
    /* Ensure images fill their container */
    width: 100%;
    max-height: 340px;
    height: auto;
    display: block;
}

.gallery-item .text-item {
    /* Adjust text item padding/styling as needed */
    text-align: left; /* Align text left within the item */
    flex-grow: 1; /* Allow text item to grow and fill available space */
}

/* Surroundings Section (Okolí) */
.surroundings-section {
    background-color: var(--background-color);
}

.surroundings-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

.surroundings-content .styled-title {
    margin-bottom: 60px; /* More space after title */
}

.columns-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Adjust ratio as needed */
    gap: 50px;
    align-items: flex-start; /* Align items to the top */
}

.image-column {
    display: grid;
    height: 100%;
    gap: 30px; /* Space between stacked images */
}

.image-column img:first-child {
    height: 100%;
    margin-left: -90px;
}

.image-column img:nth-child(2) {
    margin-top: -80px;
    height: 130%;
}

.surrounding-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.text-column {
    padding-top: 10px; /* Align text slightly */
}

.list-category {
    margin-bottom: 0px;
    font-family: var(--secondary-font);
}

.list-category:last-child {
    margin-bottom: 0;
}

.list-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0px;
    font-family: var(--secondary-font);
}

.list-category ul {
    list-style: none;
    padding-left: 20px; /* Indent list items */
}

.list-category li {
    margin-bottom: 8px;
    position: relative;
    color: var(--secondary-color);
    font-size: 1rem;
}

.list-category li::before {
    content: "•"; /* Bullet point */
    position: absolute;
    left: -20px;
    color: var(--secondary-color); /* Light gray bullet */
    font-size: 1.2rem;
    top: -2px;
}

/* Pricing Footer Section (Ceny) */
.pricing-footer-section {
    background-color: var(--primary-color); /* Matching background color */
    color: var(--tertiary-color); /* White text */
    padding: 80px 0 60px 0; /* Adjusted padding */
    margin-top: 50px; /* Space before footer */
}

.pricing-footer-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.pricing-footer-content .styled-title {
    color: var(--tertiary-color); /* White title */
    margin-bottom: 60px;
}

.pricing-columns {
    display: grid;
    /* Dynamically create columns based on number of items */
    /* For 3-4 items, use repeat(auto-fit, minmax(200px, 1fr)); */
    /* Since we have 3, let's use 3 columns for larger screens */
    grid-template-columns: repeat(3, 1fr); /* Changed from 4 to 3 */
    gap: 40px;
    margin-bottom: 0;
}

.pricing-column {
    text-align: left;
}

.quote-mark {
    font-family: 'Times New Roman', Times, serif; /* Simple serif quote */
    font-size: 4rem;
    line-height: 0.5;
    display: block;
    margin-bottom: 15px;
    opacity: 0.8;
}

.pricing-column h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.9;
    font-family: var(--secondary-font);
}

.pricing-column p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
    opacity: 0.9;
}

.pricing-column p:nth-last-child(2) {
    margin-top: 10px;
}

.footer-logo {
    text-align: center;
    margin-top: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

.footer-logo img {
    width: 450px; /* Adjust size as needed */
    height: auto;
    opacity: 0.9;
}

/* Footer - Remove old static footer styles */
/*
.footer {
    background-color: #3a3a3a;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}

.footer p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}
*/

/* Responsive adjustments */

/* Tablet and smaller */
@media (max-width: 1024px) {
    .intro-content,
    .image-text-content,
    .gallery-content,
    .surroundings-content,
    .pricing-footer-content,
    .nav-container {
        max-width: 90%;
        padding: 0 20px;
    }

    .intro-title,
    .styled-title {
        font-size: 3.5rem;
    }

    .location-name {
        font-size: 4.5rem;
    }

    .welcome-text {
        font-size: 1.8rem;
    }

    .image-grid,
    .text-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for gallery on tablet */
    }
    .gallery-items-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for gallery on tablet */
    }

    .pricing-columns {
         grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust for 3 items, allow wrapping */
    }

    .columns-wrapper {
        grid-template-columns: 1fr; /* Stack columns for surroundings */
    }

    .image-column {
        grid-template-columns: repeat(2, 1fr); /* Show images side-by-side if possible */
        margin-bottom: 30px;
    }
}

.hamburger-button {
    display: none;
}

/* Mobile */
@media (max-width: 1076px) {

    .hero-section {
        flex-direction: column;
    }

    .logo {
        width: fit-content;
        position: relative;
        top: 0;
        right: 0;
    }

    .logo img {
        width: 200px;
        height: auto;
    }

    .intro-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .intro-content .intro-image {
        order: 1;
    }

    .intro-content .intro-text {
        order: 2;
    
    }

    .image-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-text-content .section-image {
        order: -1;
    }

    .image-text-content .section-text {
        order: 2;
    }

    #koupelna .text-grid, #koupelna .image-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    
    
    .section {
        padding: 60px 0;
    }

    .intro-title,
    .styled-title {
        font-size: 2.8rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .location-name {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .welcome-text {
        font-size: 1.5rem;
    }

    .subtitle p {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 0.9rem;
    }

    /* Stack all grid/column layouts */
    .intro-content,
    .image-text-content,
    .image-text-content.image-right,
    .columns-wrapper,
    .pricing-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-columns {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .pricing-column {
        text-align: center;
    }

    /* Ensure image comes first in image-text on mobile */
    .image-text-content .section-image {
         order: -1;
    }

    .gallery-items-container {
        grid-template-columns: 1fr !important; /* Stack gallery items on mobile */
    }
    
    .gallery-item {
        flex-direction: column; /* Ensure image and text are stacked within the item */
    }

    #okoli .image-column {
        gap: 20px;
    }


    #okoli .image-column img:first-child {
        margin-left: 0px;
        margin-top: 70px;
        object-fit: cover;
    }


    #okoli .image-column img:nth-child(2) {
        margin-top: 0px;
        height: 100%;
        object-fit: cover;
    }


    #okoli .text-column {
        margin-top: 70px;
    }

    .text-item {
        padding: 20px;
    }

    /* --- Mobile Navigation --- */
    .hamburger-button {
        display: flex; /* Show hamburger */
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }

    .hamburger-line {
        width: 30px;
        height: 3px;
        background-color: #fff; /* White lines initially */
        border-radius: 10px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
    }

    .main-nav.scrolled .hamburger-line {
        background-color: #555; /* Darker lines when scrolled */
    }

    .nav-links {
        /* display: none; /* Hide desktop links container */
        /* Instead, use visibility/opacity for transitions */
        visibility: hidden;
        opacity: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98); /* Mobile menu background */
        display: flex; /* Keep display flex */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s; /* Added opacity/visibility */
        transform: translateY(-100%); /* Hide off-screen initially */
    }

    .nav-links.open {
        /* display: flex; /* Already set */
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links ul {
        flex-direction: column;
        text-align: center;
    }

    .nav-links li {
        margin-bottom: 25px;
    }

    .nav-links a {
        font-size: 1.4rem;
        color: #333; /* Links color in mobile menu */
    }
    .nav-links a:hover::after {
        width: 0; /* Disable underline hover on mobile */
    }

    /* Hamburger animation */
    .hamburger-button.open .hamburger-line:nth-child(1) {
        transform: rotate(45deg);
    }

    .hamburger-button.open .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .hamburger-button.open .hamburger-line:nth-child(3) {
        transform: rotate(-45deg);
    }

     /* Adjust hamburger line color when menu is open and nav isn't scrolled */
    body.mobile-nav-open .main-nav:not(.scrolled) .hamburger-line {
         background-color: #555;
    }
}

/* Navigation Styles */
.main-nav {
    position: fixed; /* Stick to the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it's above other content */
    background-color: rgba(255, 255, 255, 0.1); /* Subtle initial background */
    -webkit-backdrop-filter: blur(5px); /* Vendor prefix for Safari */
    backdrop-filter: blur(5px); /* Frosted glass effect */
    padding: 15px 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Style for when scrolled */
.main-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.9); /* More solid background */
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid transparent;
}

.nav-container {
    max-width: 1400px; /* Wider container for nav */
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    /* font-family: 'Dancing Script', cursive; */
    font-family: var(--primary-font);
    font-size: 2.5rem;
    color: #fff; /* White initially */
    text-decoration: none;
    font-weight: 700;
    transition: color 0.4s ease;
}

.main-nav.scrolled .nav-logo {
    color: #a7c4d4; /* Change to blue when scrolled */
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px; /* Space between nav items */
}

.main-nav a {
    color: #fff; /* White links initially */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
    transition: color 0.4s ease;
}

.main-nav.scrolled ul a {
    color: #555; /* Darker links when scrolled */
}

.main-nav ul a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #a7c4d4; /* Blue underline */
    transition: width 0.3s ease;
}

.main-nav ul a:hover::after {
    width: 100%;
}

.main-nav.scrolled ul a:hover {
    color: #a7c4d4; /* Blue on hover when scrolled */
}

#koupelna .gallery-items-container, #odpocinkova-mistnost .gallery-items-container {
    grid-template-columns: repeat(2, 1fr);
}

#koupelna .text-grid, #odpocinkova-mistnost .text-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* Contact Section Styles */
.contact-section {
    background-color: var(--primary-color); /* Matching background from image */
    color: var(--tertiary-color); /* White text */
    padding: 80px 0;
}

.contact-section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-title.styled-title {
    color: var(--tertiary-color);
    margin-bottom: 60px;
    font-size: 3.5rem; /* Adjust as per image */
    font-family: var(--primary-font); /* As per image */
}

.contact-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Address | Image | Social */
    gap: 40px;
    align-items: flex-start; /* Align tops of columns */
}

.contact-column {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5); /* White border as in image */
    border-radius: 8px; /* Slightly rounded corners */
    min-height: 250px; /* Ensure columns have some height */
}

.contact-column h3 {
    font-family: var(--secondary-font);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--tertiary-color);
}

.address-column p,
.address-column a {
    font-family: var(--secondary-font);
    font-size: 1rem;
    color: var(--tertiary-color);
    text-decoration: none;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.address-column, .social-column {
    height: 300px;
}

.address-column i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px; /* For alignment */
    text-align: center;
}

.image-column-contact {
    border: none; /* No border for the image column wrapper */
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-center-image {
    max-width: 100%;
    height: auto;
    border-radius: 120px;
    display: block;
    max-height: 200px;
}

.social-column {
    text-align: left;
}

.social-instagram a {
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    color: var(--tertiary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.social-instagram i {
    font-size: 2rem; /* Larger Instagram icon */
    margin-right: 15px;
    border: 2px solid var(--tertiary-color);
    border-radius: 8px;
    padding: 8px;
}

.contact-tag-button {
    display: inline-block;
    font-family: var(--secondary-font);
    background-color: transparent;
    color: var(--tertiary-color);
    border: 2px solid var(--tertiary-color);
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px; /* Pill shape */
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.contact-tag-button:hover {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
}

/* @media (max-height: 800px) {
    .hero-section {
        min-height: 120vh
    }

    .hero-content {
        margin-top: 90px;
    }
} */

/* Responsive adjustments for Contact Section */
@media (max-width: 1024px) {

    .contact-columns {
        grid-template-columns: 1fr 1fr; /* Stack image below on tablet */
        gap: 30px;
    }
    .image-column-contact {
        grid-column: 1 / -1; /* Span full width */
        order: 1; /* Move image below text columns */
        margin-top: 30px;
    }
    .contact-column {
        min-height: auto;
    }
}

@media (max-height: 650px) {
    .logo img{
        width: 150px;
    }

    .hero-section {
        min-height: 110vh;
    }
}

@media (max-width: 767px) {
    .contact-columns {
        grid-template-columns: 1fr; /* Stack all columns */
    }
    .image-column-contact {
        order: 1; /* Keep image after address, before social or adjust */
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .address-column{
        order:0;
    }
    .social-column{
        order: 2;
    }
}

/* Main Combined Site Footer */
.main-site-footer {
    background-color: var(--primary-color); /* Shared background */
    color: var(--tertiary-color);           /* Shared text color */
    padding-top: 80px;                      /* Initial padding from pricing section */
    padding-bottom: 60px;                   /* Initial padding from pricing section */
    margin-top: 50px;                       /* Top margin from pricing section */
}

/* Adjustments for components when inside the main-site-footer */
.main-site-footer .pricing-footer-content .styled-title,
.main-site-footer .contact-section-content .styled-title {
    /* Titles inside the combined footer might not need as much margin if stacked */
    /* Or specific adjustments if needed */
}

.main-site-footer .contact-section-content {
    padding-top: 40px; /* Add some space above contact if it's directly after pricing */
}

/* Document links in footer */
.document-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px;
    text-align: center;
}

.document-links a {
    color: var(--tertiary-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.document-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.calendar-link {
    margin-bottom: 100px;
    margin-top: 0;
}

/* Responsive adjustments for document links */
@media (max-width: 767px) {
    .document-links {
        flex-direction: column;
        align-items: center;
    }

    .document-links a {
        width: 100%;
        max-width: 300px;
    }
}

.text-primary-blue {
    color: var(--primary-color);
}