/* ===== CSS Variables ===== */
:root {
    --color-bg: #f8faf8;
    --color-bg-alt: #f0f4f0;
    --color-surface: #ffffff;
    --color-primary: #2d5a27;
    --color-primary-light: #3d7a35;
    --color-accent: #1e6b18;
    --color-accent-muted: #2d5a27;
    --color-text: #1a241a;
    --color-text-muted: #5a6a5a;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.lead {
    font-size: 1.15rem;
    color: var(--color-text);
}

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

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

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

/* ===== Layout ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .lead {
    max-width: 700px;
    margin: 0 auto 1rem;
}

.sub-lead {
    font-style: italic;
    color: var(--color-primary);
}

/* ===== Welcome Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

/* SweetAlert2 must appear above modal (modal z-index: 2000) */
.swal2-container {
    z-index: 2100 !important;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-title {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.modal-desc {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.modal-form,
.modal-box .contact-form {
    flex-direction: column;
    max-width: 100%;
    gap: 0;
}

.modal-form input {
    flex: none;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    border: 1px solid rgba(45, 90, 39, 0.25);
    border-radius: 6px;
    background: var(--color-surface);
    color: var(--color-text);
}

.modal-form input::placeholder {
    color: var(--color-text-muted);
}

.modal-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.modal-form .btn {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background var(--transition), padding var(--transition);
}

.navbar.scrolled {
    background: rgba(248, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(45, 90, 39, 0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.35);
}

.phone-icon {
    display: inline-block;
    margin-right: 0.35em;
    vertical-align: middle;
    line-height: 1;
}

.phone-icon svg,
.email-icon svg {
    display: block;
    vertical-align: middle;
}

.email-icon {
    display: inline-block;
    margin-right: 0.35em;
    vertical-align: middle;
    line-height: 1;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        linear-gradient(135deg, rgba(248, 250, 248, 0.75) 0%, rgba(248, 250, 248, 0.5) 50%),
        url('https://images.unsplash.com/photo-1535131749006-b7f58c99034b?w=1920') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, var(--color-bg) 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
}

.hero-content {
    text-align: left;
}

.hero-form-wrap {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1.25rem;
    text-align: center;
}

.hero-form,
.hero-form-wrap .contact-form {
    flex-direction: column;
    max-width: 100%;
    gap: 0;
}

/* Hero form inputs - same fixes as modal (visibility + compact height) */
.hero-form-wrap .contact-form input,
.hero-form-wrap .hero-form input {
    background: #f8faf8 !important;
    border: 1px solid #c5d0c5 !important;
    color: var(--color-text) !important;
    padding: 0.4rem 0.65rem !important;
    line-height: 1.3 !important;
    flex: none !important;
    min-height: unset !important;
    margin-bottom: 0.75rem !important;
}

.hero-form-wrap .contact-form input::placeholder,
.hero-form-wrap .hero-form input::placeholder {
    color: var(--color-text-muted) !important;
}

.hero-form-wrap .contact-form input:focus,
.hero-form-wrap .hero-form input:focus {
    border-color: var(--color-primary) !important;
}

.hero-form .btn {
    width: 100%;
    margin-top: 0.25rem;
}

.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-accent-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero h1 {
    color: var(--color-text);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-muted);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
}

/* ===== About Section ===== */
.about-section {
    background: var(--color-bg-alt);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    background: var(--color-surface);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(45, 90, 39, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 2rem 0;
}

.gallery-section-header {
    margin-bottom: 3.5rem;
}

.gallery-section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin: 1.25rem auto 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

/* Gallery thumbnail carousel */
.gallery-thumb-carousel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.thumb-prev,
.thumb-next {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(45, 90, 39, 0.15);
    color: var(--color-primary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}

.thumb-prev:hover,
.thumb-next:hover {
    background: rgba(45, 90, 39, 0.25);
    transform: scale(1.08);
}

.thumb-prev:focus-visible,
.thumb-next:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.thumb-viewport {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.thumb-viewport::-webkit-scrollbar {
    display: none;
}

.thumb-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 0.5rem 0;
}

/* Desktop: 3 thumbnails visible */
.thumb-item {
    flex: 0 0 calc((100% - 2rem) / 3);
    min-width: calc((100% - 2rem) / 3);
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.thumb-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.thumb-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(45, 90, 39, 0.3);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Mobile: 1 thumbnail visible */
@media (max-width: 768px) {
    .gallery-thumb-carousel {
        gap: 0.5rem;
    }

    .thumb-prev,
    .thumb-next {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .thumb-item {
        flex: 0 0 100%;
        min-width: 100%;
        aspect-ratio: 16 / 9;
    }
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.35s ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    line-height: 1;
}

.lightbox-prev {
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 576px) {
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        left: 0.75rem;
        right: 0.75rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

/* ===== Golf Section ===== */
.golf-section {
    background: var(--color-bg);
}

.content-block {
    margin-bottom: 2rem;
}

.content-block h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.highlight-block {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
}

/* ===== Contact Form ===== */
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input {
    flex: 1 1 180px;
    min-width: 150px;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 6px;
    background: rgba(255,255,255,0.25);
    color: #ffffff;
}

.contact-form input::placeholder {
    color: rgba(255,255,255,0.85);
}

.contact-form input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.9);
}

.contact-section .contact-form input {
    background: var(--color-surface);
    border: 1px solid rgba(45, 90, 39, 0.25);
    color: var(--color-text);
}

.contact-section .contact-form input::placeholder {
    color: var(--color-text-muted);
}

/* Modal form - override contact-form styles for visibility on white background */
.modal-box .contact-form input,
.modal-box .modal-form input {
    background: #f8faf8 !important;
    border: 1px solid #c5d0c5 !important;
    color: var(--color-text) !important;
    padding: 0.4rem 0.65rem !important;
    line-height: 1.3 !important;
    flex: none !important;
    min-height: unset !important;
    margin-bottom: 0.75rem !important;
}

.modal-box .contact-form input::placeholder,
.modal-box .modal-form input::placeholder {
    color: var(--color-text-muted) !important;
}

.modal-box .contact-form input:focus,
.modal-box .modal-form input:focus {
    border-color: var(--color-primary) !important;
}

/* ===== Amenities ===== */
.amenities-section {
    background: var(--color-bg-alt);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.amenity-category {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(45, 90, 39, 0.15);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.amenity-category h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.amenity-category ul {
    list-style: none;
}

.amenity-category li {
    padding: 0.4rem 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.25rem;
}

.amenity-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.clubhouse-block {
    text-align: center;
    padding: 2rem;
    background: var(--color-surface);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.clubhouse-block h4 {
    color: var(--color-primary);
}

/* ===== Site Plan ===== */
.site-plan-section {
    background: var(--color-bg);
}

/* ===== Layouts ===== */
.layouts-section {
    background: var(--color-bg-alt);
}

.layouts-cta {
    text-align: center;
    padding: 3rem;
}

.layouts-cta h2 {
    margin-bottom: 1.5rem;
}

/* ===== Contact ===== */
.contact-section {
    background: var(--color-bg-alt);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* ===== Location ===== */
.location-section {
    background: var(--color-bg);
}

.connectivity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.connectivity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-surface);
    border-radius: 6px;
    color: var(--color-text-muted);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.connectivity-item .icon {
    font-size: 1.5rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-alt);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(45, 90, 39, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-block h4 {
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.footer-block p {
    margin: 0;
    font-size: 0.95rem;
}

.disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.8;
}

/* ===== Layout Photos Grid ===== */
.layout-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.layout-photo-card {
    background: var(--color-surface);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.layout-photo-card p {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .contact-form input {
        padding: 0.6rem 0.85rem !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }

    .logo-img {
        height: 36px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-surface);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right var(--transition);
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .contact-form {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 100%;
    }

    .contact-form input {
        min-width: 100% !important;
        width: 100% !important;
        padding: 0.65rem 0.9rem !important;
        font-size: 0.95rem !important;
        flex: none !important;
    }

    .cta-section .contact-form input,
    .contact-section .contact-form input {
        padding: 0.65rem 0.9rem !important;
        font-size: 0.95rem !important;
    }

    .modal-box .contact-form input,
    .modal-box .modal-form input {
        padding: 0.6rem 0.85rem !important;
    }

    .hero-form-wrap {
        padding: 1.5rem;
    }

    .hero-form-wrap .contact-form input,
    .hero-form-wrap .hero-form input {
        padding: 0.6rem 0.85rem !important;
    }

    /* Table wrapper for mobile scrolling */
    table {
        min-width: 0 !important;
        width: 100% !important;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table thead,
    table tbody,
    table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .layout-photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ===== Floating Action Buttons ===== */
.float-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.whatsapp-float,
.call-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
}

.whatsapp-float {
    background: #25D366;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.call-float {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    box-shadow: 0 4px 20px rgba(45, 90, 39, 0.4);
}

.call-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(45, 90, 39, 0.5);
}

.whatsapp-float:active,
.call-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg,
.call-float svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .float-actions {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .whatsapp-float,
    .call-float {
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg,
    .call-float svg {
        width: 28px;
        height: 28px;
    }
}
