/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

body.home-page {
    background-color: rgb(230, 219, 211);
}

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

/* Navigation */
.navbar {
    background-color: transparent;
    position: relative;
    z-index: 1000;
}

body.home-page .navbar {
    background-color: transparent;
}

/* Hero Navbar - shares hero background */
.hero-navbar {
    background: url('images/home/hero.jpg') center/cover;
    background-attachment: fixed;
    position: relative;
    padding: 1.5rem 0;
}

.hero-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.hero-navbar .nav-container {
    position: relative;
    z-index: 1;
}

.hero-navbar .nav-link {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #000;
    text-shadow: none;
}

.hero-navbar .nav-link:hover,
.hero-navbar .nav-link.active {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    color: #333;
    text-shadow: none;
}

.hero-navbar .hamburger span {
    background-color: #fff;
    background-color: #000;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #666;
}

.nav-link.active::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Banner */
.banner {
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 0.8rem;
    font-weight: 400;
    font-size: 0.95rem;
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner a,
.banner-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.banner a:hover,
.banner-link:hover {
    color: #666;
}

/* Hero Section */
.hero {
    background: url('images/home/hero.jpg') center/cover;
    background-attachment: fixed;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.3;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.btn-inquire {
    display: inline-block;
    padding: 12px 35px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.btn-inquire:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

/* Home Page Main Navigation Blocks */
.home-main {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.nav-blocks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 120vh;
    min-height: 500px;
    max-height: 900px;
}

.nav-block {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.nav-block:hover {
    transform: scale(1.02);
}

.nav-block.about-block {
    background: url('images/home/about.jpg') center/cover;
    grid-row: 1;
    grid-column: 1;
}

.nav-block.good-words-block {
    background: url('images/home/good-words.jpg') center/cover;
    grid-row: 2;
    grid-column: 1;
}

.nav-block.gallery-block {
    background: url('images/home/gallery.jpg') center/cover;
    grid-row: 1 / 3;
    grid-column: 2;
}

.block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.nav-block:hover .block-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.block-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.block-content h2 {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Home Page Footer */
.home-footer {
    background-color: #F8F5F1;
    padding: 80px 20px 60px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-name {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 25px;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact p {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    font-size: 0.95rem;
    color: #333;
    margin: 8px 0;
    line-height: 1.6;
}

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

.social-icons a {
    color: #333;
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #666;
}

/* Content Section */
.content-section {
    background-color: #f5f1eb;
    padding: 0;
}

.content-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 100%;
    margin: 0;
}

.content-block {
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
}

.content-block.image-block {
    position: relative;
}

.content-block.image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-block.placeholder-block {
    background-color: #e8e8e8;
}

/* Page Content */
.page-content {
    padding: 60px 0;
    min-height: 70vh;
}

.page-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* About Page Sections */
.about-sections {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 5rem;
}

.section-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.section-content-wrapper.reverse {
    grid-template-columns: 1fr 1fr;
}

.section-content-wrapper.reverse .section-image-wrapper {
    order: 1;
}

.section-content-wrapper.reverse .section-text {
    order: 2;
}

.section-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    line-height: 1.6;
    justify-content: flex-start;
}

.section-image-wrapper {
    position: relative;
    align-self: start;
    height: fit-content;
}

.section-image-wrapper img {
    max-height: 600px;
    object-fit: cover;
}

.section-image {
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #2c3e50;
    margin: 0 0 0.4rem 0;
    line-height: 1.2;
    text-align: center;
}

.about-section h3 {
    font-size: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.about-section p {
    font-size: 0.7rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.package-list {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 0.3rem;
    margin-bottom: 0;
}

.package-list li {
    margin-bottom: 0.5rem;
}

.about-section h3 {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #2c3e50;
    margin-top: 0.6rem;
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #555;
    margin-bottom: 0.5rem;
}

.package-intro {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
}

.package-list {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.package-list li {
    font-size: 1rem;
    line-height: 1.4;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.package-list li strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Gallery */
.gallery-section {
    margin-bottom: 8rem;
}

.gallery-section h2 {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.8rem;
    margin-top: 3rem;
}

.gallery-subtitle {
    color: #666;
    margin-bottom: 2.5rem;
    text-align: center;
    font-family: 'Pinyon Script', cursive;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.gallery-group {
    margin-bottom: 5rem;
}

.gallery-group h3 {
    font-family: 'Pinyon Script', cursive;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #444;
    text-align: center;
    letter-spacing: 1px;
    font-size: 1.5rem;
    font-style: normal;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 3/2;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f8f8;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- Hover Overlay & Icon --- */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Dark overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 48px;
    height: 48px;
    /* White Magnifying Glass Icon (SVG) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-note {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-name {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    text-align: left;
}

.testimonials-footer {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
}

.testimonials-footer p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonials-footer .btn-inquire {
    display: inline-block;
    padding: 12px 35px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.testimonials-footer .btn-inquire:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

/* Contact */
.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-form-section {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item a {
    color: #d4a574;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #c8966a;
    text-decoration: underline;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    text-align: center;
}

.form-message {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 5px;
    text-align: center;
    font-size: 0.95rem;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.about-me-section {
    display: grid;
    grid-template-columns: 1.3fr 0.4fr;
    gap: 2rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.about-me-content {
    display: flex;
    flex-direction: column;
    max-width: 600px;
}

.about-me-section h3 {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.about-me-section h4 {
    font-family: 'Marcellus Pro', 'Marcellus', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-style: italic;
}

.about-me-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.about-me-image {
    width: 100%;
}

.about-me-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
}

.btn-submit {
    background-color: #d4a574;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: #c8966a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

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

    .page-title {
        font-size: 2rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .content-blocks {
        grid-template-columns: 1fr;
    }

    .content-block {
        height: 40vh;
        min-height: 300px;
    }

    .nav-blocks-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        min-height: auto;
    }

    .nav-block.gallery-block {
        grid-row: auto;
        grid-column: 1;
        min-height: 400px;
    }

    .nav-block.about-block,
    .nav-block.good-words-block {
        min-height: 350px;
    }

    .block-content h2 {
        font-size: 2.5rem;
    }

    .footer-name {
        font-size: 1.5rem;
    }

    .section-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-content-wrapper.reverse {
        direction: ltr;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .contact-form-section {
        max-width: 100%;
    }

    .about-me-section {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .about-me-image {
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .btn-inquire {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }
}

/* --- Lightbox Styles --- */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed; 
  z-index: 9999; /* Sit on top */
  padding-top: 50px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1200px;
  max-height: 85vh;
  object-fit: contain;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

/* Add Animation */
.lightbox-content, #caption {  
  animation-name: zoom;
  animation-duration: 0.3s;
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Responsive adjustments */
@media only screen and (max-width: 700px){
  .lightbox-content {
    width: 100%;
  }
}

/* --- Album View Styles --- */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.album-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.album-cover-container {
    height: 250px;
    overflow: hidden;
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f8f8;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover {
    transform: scale(1.05);
}

.album-info {
    padding: 1.5rem;
    text-align: center;
}

.album-title {
    font-family: 'Marcellus', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.album-count {
    font-size: 0.9rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #555;
}
