/* ===== Base Styles ===== */
:root {
    /* Color palette - updating to a cleaner, more minimalist palette */
    --primary-color: #3498db;
    --primary-rgb: 52, 152, 219;
    --primary-dark: #2980b9;
    --secondary-color: #2c3e50;
    --light-color: #f8f9f9;
    --surface-color: #fafafa;
    --section-muted-bg: #f9f9f9;
    --dark-color: #333333;
    --accent-color: #f39c12;
    --text-color: #444444;
    --border-color: #e5e5e5;
    --box-shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --box-shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.08);
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;    
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Other */
    --border-radius: 6px;
    --border-radius-lg: 14px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Elements ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
    position: relative;
}

/* Opt-in heading underline — apply .heading-underline to an h1/h2 (centered inside .centered or .section-header.centered) */
.heading-underline::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 0.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

/* section {
    padding: var(--spacing-xl) 0;
} */

/* ===== Common Components ===== */

/* Buttons */
/* ===== Simplified CTA Button Styles ===== */
.cta-button-main {
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 14px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button-main:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
    color: white;
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.3);
}

.cta-button-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.cta-button-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

/* ===== Layout & Structure ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Page Titles & Breadcrumbs */
.page-title {
    padding: var(--spacing-lg) 0;
    text-align: center;
    background-color: #f8f9fa;
    margin-bottom: var(--spacing-md);
}

.page-title h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.page-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb span {
    color: #777;
    margin-left: 5px;
}

/* Secondary Page Title - For Interior Pages */
.secondary-page-title {
    position: relative;
    padding: var(--spacing-lg) 0;
    text-align: center;
    background-color: var(--secondary-color);
    color: white;
    margin-bottom: var(--spacing-md);
}

.secondary-page-title h1 {
    font-size: 2.75rem;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.secondary-page-title p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
}

.secondary-page-title .breadcrumb {
    margin-top: var(--spacing-sm);
}

.secondary-page-title .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.secondary-page-title .breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

/* Full-screen page hero (matches homepage) */
.page-hero,
.page-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    color: white;
    z-index: 1;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.45)),
        #1a1a1a;
}

.page-hero--weddings,
.page-banner--weddings {
    background:
        linear-gradient(rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.16)),
        url('../images/weddings/wedding-venue.jpeg') center center / cover no-repeat;
}

.page-hero--real-estate,
.page-banner.real-estate-banner {
    background:
        linear-gradient(rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18)),
        url('../images/real-estate/snowy-house.jpeg') center center / cover no-repeat;
}

.page-banner.real-estate-banner .banner-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.12));
}

.page-banner.real-estate-banner .banner-content h1,
.page-banner.real-estate-banner .banner-content p,
.page-banner.real-estate-banner .scroll-down a {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.page-hero-overlay,
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.page-hero .container,
.page-banner .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-content,
.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    max-width: 700px;
    text-align: center;
    padding: 0 20px;
}

.page-hero-content h1,
.banner-content h1 {
    font-size: 3.75rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.page-hero-content p,
.banner-content p {
    font-size: 1.35rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
    max-width: 700px;
}

.page-hero .button-group,
.page-banner .button-group {
    margin-top: 0;
}

.page-hero .cta-button-secondary,
.page-banner .cta-button-secondary {
    color: white;
    border-color: white;
}

.page-hero .cta-button-secondary:hover,
.page-banner .cta-button-secondary:hover {
    background-color: white;
    color: var(--dark-color);
}

.page-hero-scroll,
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.page-hero-scroll a,
.scroll-down a {
    color: white;
    font-size: 1.5rem;
    display: block;
    animation: page-hero-bounce 2s infinite;
}

@keyframes page-hero-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.page-hero-bottom {
    position: absolute;
    bottom: 0;
}

.page-hero.page-hero--slideshow,
.page-banner.page-hero--slideshow,
.page-hero--portfolio {
    background: none;
}

.page-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.page-hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    transform: scale(1.04);
}

.page-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.4s ease-in-out, transform 8s ease-out;
}

.page-hero-slide.is-active.no-transition {
    transition: none;
    transform: scale(1);
}

/* Section styling */
.section-padding {
    padding: 80px 0;
    margin: 0; /* Adding explicit margin 0 to avoid inconsistencies */
}

.alt-bg {
    background-color: var(--section-muted-bg);
}

/* Consistent spacing between page title and first section */
.secondary-page-title + .section-padding {
    padding-top: 60px;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .secondary-page-title + .section-padding {
        padding-top: 40px;
    }

    .page-hero,
    .page-banner {
        min-height: 500px;
    }

    .page-hero-content h1,
    .banner-content h1 {
        font-size: 2.5rem;
    }

    .page-hero-content p,
    .banner-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .secondary-page-title + .section-padding {
        padding-top: 30px;
    }

    .page-hero,
    .page-banner {
        min-height: 480px;
    }

    .page-hero-content h1,
    .banner-content h1 {
        font-size: 2rem;
    }

    .page-hero .button-group,
    .page-banner .button-group {
        flex-direction: column;
        width: 100%;
    }

    .page-hero .button-group .cta-button,
    .page-hero .button-group .cta-button-secondary,
    .page-banner .button-group .cta-button,
    .page-banner .button-group .cta-button-secondary {
        width: 100%;
        max-width: 280px;
    }
}

/* Center any element */
.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.centered .heading-underline::after {
    margin-left: auto;
    margin-right: auto;
}

.intro-content.centered {
    margin-top: var(--spacing-md);
}

/* ===== Section Headers (shared) ===== */
.section-header {
    margin-bottom: 40px;
    text-align: left;
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    margin: 0;
    font-size: 2.2rem;
    color: var(--dark-color);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.75rem 0 0;
    position: static;
}

.section-header.centered h2::after {
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    margin: 0.75rem auto 0;
    color: #666;
    font-size: 1.05rem;
    max-width: 800px;
}

.section-header .section-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 720px;
    margin-top: 1.25rem;
}

/* ===== Call to Action Section (shared) ===== */
.cta-section {
    background: linear-gradient(160deg, #243447 0%, #1a252f 100%);
    border-top: 3px solid var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .cta-button {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.cta-section .cta-button:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta-section .cta-button-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .cta-button-secondary:hover {
    background-color: white;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* ===== Footer (Updated Styling) ===== */
footer {
  background-color: #111;
  color: #ddd;
  padding: 40px 0;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 20px;
}

.footer-logo a {
  display: inline-block;
  line-height: 0;
}

.footer-logo img {
  display: block;
  margin: 0 auto;
  height: 88px;
  width: auto;
  max-width: 540px;
  object-fit: contain;
  opacity: 0.95;
}

.footer-logo p {
  opacity: 0.8;
  margin-top: 14px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.footer-links > div {
  flex: 1;
}

.footer-links h3 {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: #aaa;
}

.footer-bottom a {
  color: #aaa;
}

.footer-bottom a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #222;
  color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
}

.social-icons a:hover {
  background: #555;
  color: #fff;
}

/* Columned footer layout (shared across pages) */
footer .footer-content:has(.footer-column) {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
}

footer .footer-content:has(.footer-column) .footer-logo {
  flex: 1 1 200px;
  text-align: left;
  margin-bottom: 0;
}

footer .footer-content:has(.footer-column) .footer-logo img {
  margin: 0;
  height: 80px;
  max-width: 480px;
  opacity: 0.95;
}

footer .footer-content:has(.footer-column) .footer-logo p {
  margin-left: 0;
  margin-right: 0;
}

footer .footer-content:has(.footer-column) .footer-links {
  flex: 2 1 300px;
  justify-content: flex-start;
  text-align: left;
  max-width: none;
}

footer .footer-content:has(.footer-column) .footer-column {
  flex: 1;
  min-width: 140px;
}

footer .footer-content:has(.footer-column) .footer-contact {
  flex: 1 1 200px;
  text-align: left;
}

footer .footer-content:has(.footer-column) .footer-contact h3 {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
}

footer .footer-content:has(.footer-column) .footer-contact p {
  margin-bottom: 8px;
  opacity: 0.8;
}

footer .footer-content:has(.footer-column) .footer-contact p i {
  margin-right: 8px;
  color: var(--primary-color);
}

footer .footer-content:has(.footer-column) .social-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

footer .footer-content:has(.footer-column) .social-links a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #222;
  color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
}

footer .footer-content:has(.footer-column) .social-links a:hover {
  background: var(--primary-color);
  color: #fff;
}

@media (max-width: 768px) {
  footer .footer-content:has(.footer-column) {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .footer-content:has(.footer-column) .footer-logo,
  footer .footer-content:has(.footer-column) .footer-links,
  footer .footer-content:has(.footer-column) .footer-contact {
    flex: 1 1 100%;
    text-align: center;
  }

  footer .footer-content:has(.footer-column) .footer-logo img {
    margin: 0 auto;
  }

  footer .footer-content:has(.footer-column) .footer-links {
    justify-content: center;
  }

  footer .footer-content:has(.footer-column) .social-links {
    justify-content: center;
  }
}

/* ===== Video Modal ===== */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    padding: max(env(safe-area-inset-top), 16px) 12px max(env(safe-area-inset-bottom), 16px);
    background: rgba(0, 0, 0, 0.88);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: min(94vw, 960px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
}

.video-modal-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.video-modal-player iframe,
.video-modal-player video,
#videoContainer iframe,
#videoContainer video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: inherit;
    object-fit: contain;
    background: #000;
}

.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: var(--surface-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

@media (max-width: 768px) {
    .video-modal {
        padding: max(env(safe-area-inset-top), 12px) 10px max(env(safe-area-inset-bottom), 12px);
    }

    .video-modal-content {
        width: 100%;
        max-width: 100%;
    }

    .video-modal-close {
        top: 8px;
        right: 8px;
        position: fixed;
    }

    .video-modal-player {
        border-radius: 10px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .slide-in-left,
    .slide-in-right {
        opacity: 1;
        animation: none;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Animation delays for cascade effect */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* ===== Form Elements ===== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===== Utility Classes ===== */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Service icon base styles used across pages */
.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Custom icon colors */
.real-estate-icon {
    color: var(--primary-color);
}

.construction-icon {
    color: #F44336;
}

.events-icon {
    color: #FF9800;
}

.marketing-icon {
    color: #4CAF50;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

