* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    background: linear-gradient(180deg, #f9f7f4 0%, #ede9e3 100%);
    min-height: 100vh;
    padding-bottom: 130px;
    color: #3a3a3a;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 150px;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 170px;
    }
}

/* 🏛️ PREMIUM HEADER */
.premium-header {
    background: linear-gradient(135deg, #2c1810 0%, #5a3d31 50%, #8b6f47 100%);
    color: white;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.premium-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 106, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.header-top {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container-main {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-image-main {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-section {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logo-container {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.brand-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-location {
    font-size: 18px;
    opacity: 0.9;
    letter-spacing: 3px;
    font-weight: 300;
}

.header-info {
    flex: 1;
    min-width: 280px;
}

.tagline {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* 📱 WHATSAPP CONTACT */
.whatsapp-contact {
    flex: 0 0 auto;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(25, 135, 84, 0.2);
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid rgba(25, 135, 84, 0.4);
    letter-spacing: 0.5px;
}

.whatsapp-btn:hover {
    background: rgba(25, 135, 84, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.3);
    border-color: rgba(25, 135, 84, 0.6);
}

.whatsapp-btn i {
    font-size: 18px;
}

.header-divider {
    height: 0px;
    background: transparent;
    margin-top: 0px;
}

/* 🔥 GALLERY GRID - 2 COLUMNS (DESKTOP) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 🔥 MOBILE GALLERY - HIDDEN ON DESKTOP */
.gallery-mobile {
    display: none;
}

/* 🔥 GALLERY ITEM */
.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 106, 0.2);
    animation: fadeIn 0.6s ease-out forwards;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 175, 106, 0.5);
}

/* 🖼 IMAGE CONTAINER */
.gallery-item a {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f0f0f0;
}

.gallery-img {
    width: 100%;
    height: 300px;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

/* 🔍 ZOOM INDICATOR */
.zoom-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(212, 175, 106, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    z-index: 10;
    border: 2px solid white;
    letter-spacing: 0.5px;
}

.gallery-item:hover .zoom-indicator {
    opacity: 1;
}

/* ☑️ CHECKBOX OVERLAY */
.overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
}

.overlay input {
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2.5px solid white;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.overlay input:hover {
    background: rgba(0, 0, 0, 0.35);
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.overlay input:checked {
    background: linear-gradient(135deg, #d4af6a 0%, #a68a4a 100%);
    border-color: white;
    box-shadow: 0 0 20px rgba(212, 175, 106, 0.6);
}

/* 📝 TITLE */
.title {
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #3a3a3a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
    background: white;
    letter-spacing: 0.3px;
}

.gallery-item:hover .title {
    color: #8b6f47;
    background: #f9f7f4;
}

/* 📦 LOAD MORE BUTTON */
.load-more-container {
    display: flex;
    justify-content: center;
    padding: 30px 40px;
    animation: fadeIn 0.6s ease-out;
}

.load-more-btn {
    background: linear-gradient(135deg, #8b6f47 0%, #a68a4a 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.2);
    font-family: 'Georgia', serif;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 111, 71, 0.3);
}

.load-more-btn:active {
    transform: translateY(-1px);
}

/* 🔘 ACTION BAR - FIXED BOTTOM */
.action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 244, 0.98));
    padding: 18px 15px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-top: 2px solid rgba(212, 175, 106, 0.3);
}

.action-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.action-bar input {
    flex: 1.5;
    min-width: 220px;
    padding: 14px 18px;
    border-radius: 8px;
    border: 2px solid #e0d5c7;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: #3a3a3a;
    font-family: 'Georgia', serif;
}

.action-bar input:focus {
    border-color: #8b6f47;
    box-shadow: 0 0 0 4px rgba(139, 111, 71, 0.1);
}

.action-bar input::placeholder {
    color: #b0a898;
}

.action-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-send {
    background: linear-gradient(135deg, #8b6f47 0%, #a68a4a 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.2);
    font-family: 'Segoe UI', sans-serif;
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 111, 71, 0.3);
}

.btn-send:active {
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1aad52 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    margin-right: 10px;
    font-size: 22px;
    vertical-align: middle;
}

.selection-count {
    font-size: 13px;
    color: #a68a4a;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* 📱 RESPONSIVE DESIGN */

/* TABLET & SMALL LAPTOP */
@media (max-width: 1024px) {
    .header-top {
        padding: 35px 20px;
    }

    .logo-container-main {
        width: 150px;
        height: 150px;
    }

    .header-content {
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 30px;
    }

    .load-more-btn {
        padding: 12px 32px;
        font-size: 14px;
    }
}

/* TABLET */
@media (max-width: 768px) {
    .header-top {
        padding: 30px 20px;
    }

    .logo-container-main {
        width: 120px;
        height: 120px;
    }

    .header-content {
        gap: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-section {
        align-items: center;
        width: 100%;
    }

    .logo-container {
        width: 80px;
        height: 80px;
    }

    .brand-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .brand-location {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .header-info {
        min-width: auto;
        text-align: center;
    }

    .tagline {
        font-size: 16px;
    }

    .subtitle {
        font-size: 13px;
        line-height: 1.5;
    }

    .whatsapp-btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* SHOW MOBILE GALLERY ON TABLET */
    .gallery-grid {
        display: none;
    }

    .gallery-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px;
        max-width: 800px;
        margin: 0 auto;
    }

    .load-more-container {
        display: flex;
        justify-content: center;
        padding: 25px 20px;
        order: 10;
    }

    .load-more-btn {
        padding: 11px 28px;
        font-size: 13px;
    }

    .action-bar {
        padding: 12px 10px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 247, 244, 0.99));
    }

    .action-content {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .action-bar input {
        width: 100%;
        min-width: unset;
        padding: 12px 14px;
        font-size: 13px;
    }

    .action-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .btn-send {
        width: 100%;
        padding: 12px 16px;
        font-size: 12px;
    }

    .selection-count {
        text-align: center;
        width: 100%;
        font-size: 12px;
    }

    .gallery-mobile .gallery-item a {
        height: 240px;
    }

    .gallery-mobile .gallery-img {
        height: 240px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .header-top {
        padding: 25px 15px;
    }

    .logo-container-main {
        width: 100px;
        height: 100px;
    }

    .header-content {
        gap: 15px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .logo-section {
        width: 100%;
        align-items: center;
    }

    .logo-container {
        width: 70px;
        height: 70px;
    }

    .brand-title {
        font-size: 24px;
        letter-spacing: 1px;
        margin-bottom: 3px;
    }

    .brand-location {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .header-info {
        width: 100%;
    }

    .tagline {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .subtitle {
        font-size: 11px;
    }

    .whatsapp-btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .whatsapp-btn i {
        font-size: 16px;
    }

    .gallery-mobile {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        margin-bottom: 0;
    }

    .gallery-mobile .gallery-img {
        height: 200px;
    }

    .load-more-container {
        padding: 15px 10px;
        margin-top: 10px;
    }

    .load-more-btn {
        padding: 10px 20px;
        font-size: 12px;
        width: 100%;
    }

    .action-bar {
        padding: 10px 8px;
    }

    .action-content {
        gap: 8px;
    }

    .action-bar input {
        padding: 10px 12px;
        font-size: 12px;
    }

    .action-buttons {
        gap: 8px;
    }

    .btn-send {
        padding: 10px 14px;
        font-size: 11px;
        border-radius: 6px;
    }

    .selection-count {
        font-size: 11px;
    }

    .title {
        padding: 10px;
        font-size: 12px;
    }

    .overlay input {
        width: 24px;
        height: 24px;
    }
}

/* 🎨 ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeIn 0.6s ease-out forwards;
}

.load-more-container {
    animation: fadeIn 0.6s ease-out;
}

/* 🎯 SCROLLBAR STYLING */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1ede5;
}

::-webkit-scrollbar-thumb {
    background: #8b6f47;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a68a4a;
}
/* 🔥 POPUP MODAL STYLING */

/* 🌐 FLOATING WHATSAPP BUTTON */
.whatsapp-floating {
    position: fixed;
    bottom: 120px; /* moved higher above action bar */
    right: 20px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-floating:hover {
    background: #1ebe57;
}

.whatsapp-floating i {
    font-size: 32px;
}

@media (max-width: 480px) {
    .whatsapp-floating {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 180px; /* even higher on mobile */
    }
    .whatsapp-floating i {
        font-size: 28px;
    }
    /* add space below load more button for floating icon */
    .load-more-btn {
        margin-bottom: 55px;
    }
}

/* 🔥 POPUP MODAL STYLING */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.popup-content {
    background: linear-gradient(135deg, #f9f7f4 0%, #ede9e3 100%);
    margin: 10% auto;
    padding: 40px;
    border: 2px solid #8b6f47;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    color: #8b6f47;
    float: right;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #a68a4a;
}

#popupMessage {
    color: #3a3a3a;
    font-size: 16px;
    line-height: 1.6;
    margin: 20px 0;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: pre-wrap;
}

.popup-btn {
    display: block;
    margin: 25px auto 0;
    padding: 12px 30px;
    background: linear-gradient(135deg, #8b6f47 0%, #a68a4a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.popup-btn:hover {
    background: linear-gradient(135deg, #a68a4a 0%, #b39952 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 111, 71, 0.4);
}

.popup-btn:active {
    transform: translateY(0);
}

/* 📱 MOBILE RESPONSIVE */
@media (max-width: 480px) {
    .popup-content {
        margin: 20% auto;
        padding: 30px 20px;
        width: 85%;
    }
    
    #popupMessage {
        font-size: 14px;
    }
    
    .popup-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}