@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Source+Sans+Pro:wght@400;600&display=swap');

:root {
    --primary-color: #1A435B; /* Deep Ocean Blue */
    --secondary-color: #8FA89F; /* Seafoam Green */
    --accent-color: #C78B7F; /* Coral Blush */
    --background-color: #F8F8F8; /* Off-White */
    --text-color: #333;
    --light-gray: #E0E0E0;
}

/* General Styles */
body {
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

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

main {
    flex-grow: 1;
}

/* Header */
header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 60px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 4px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 80px;
        left: 0;
        background: #fff;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 250px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 0;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
}

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

.hero-content h1 {
    font-size: 80px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 400;
}

.btn {
    background: var(--secondary-color);
    color: #fff;
    padding: 20px 45px; /* Increased padding */
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px; /* Slightly increased font size */
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Added box-shadow */
}

.btn:hover {
    background: #7a9a8f; /* Darker Seafoam Green */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3); /* Adjusted box-shadow on hover */
}

/* Sections */
section {
    padding: 100px 0;
}

section:nth-of-type(even) {
    background-color: #fff;
}

/* Featured Section */
.featured {
    text-align: center;
}

.featured p {
    margin-bottom: 40px;
}

.featured .btn {
    margin-top: 50px;
}

.three-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 80px 0;
}

.pillar {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pillar img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.pillar h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.pillar p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 992px) {
    .three-pillars {
        grid-template-columns: 1fr;
    }
}

/* About Us Section */
.about-us h2 {
    text-align: center;
    margin-bottom: 80px;
    font-size: 48px;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}

.about-item.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}


.about-image img, .about-video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-us p {
    line-height: 1.8;
    font-size: 18px;
}

@media (max-width: 768px) {
    .about-item {
        flex-direction: column;
        gap: 40px;
    }

    .about-item.reverse {
        flex-direction: column;
    }
}

/* Menu Section */
.menu h2 {
    text-align: center;
    margin-bottom: 80px;
    font-size: 48px;
}

.menu-category {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.menu-category h3 {
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 32px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.menu-item {
    margin-bottom: 20px;
}

.menu-item h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.menu-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.gallery h2 {
    text-align: center;
    margin-bottom: 80px;
    font-size: 48px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* Contact Section */
.contact h2 {
    text-align: center;
    margin-bottom: 80px;
    font-size: 48px;
}

.contact-form {
    margin-bottom: 80px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(143, 168, 159, 0.5);
}

.patrons-section {
    text-align: center;
    margin-bottom: 80px;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.patrons-section h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.patrons-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.whatsapp-btn {
    background-color: #25D366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-btn:hover {
    background-color: #1DA851;
    transform: translateY(-3px);
}

.whatsapp-btn i {
    font-size: 24px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #fff;
    padding: 80px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #fff;
}

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

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

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

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

.footer-contact p {
    margin: 0 0 10px;
    color: #ccc;
}

.footer-social .social-icons a {
    color: #fff;
    font-size: 28px;
    margin-right: 15px;
    transition: color 0.3s;
}

.footer-social .social-icons a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #335a74;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

.footer-bottom p {
    margin: 0;
}

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

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* Featured Section on Homepage */
.featured-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.featured-text {
    text-align: left;
}

.featured-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}

.featured-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.featured-images img:hover {
    transform: scale(1.05);
}

.featured-images .img-1 {
    grid-row: 1 / 3;
    align-self: end;
    height: 100%;
    object-fit: cover;
}

.featured-images .img-2 {
    align-self: start;
}

.featured-images .img-3 {
    align-self: end;
}

/* CTA Section */
.cta {
    background-image: url('images/view.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: #fff;
    text-align: center;
    padding: 150px 0;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
}

/* Reviews Section */
.reviews {
    background-color: #fff;
}

.reviews-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
    gap: 30px;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 0;
    font-size: 48px;
}

.slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.slide {
    display: none;
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 100px;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: 'Playfair Display', serif;
}

.slide.active {
    display: block;
}

.review-text {
    font-style: italic;
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.reviewer {
    font-weight: 600;
    color: var(--secondary-color);
    font-family: 'Source Sans Pro', sans-serif;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    border: none;
    background: transparent;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    color: var(--secondary-color);
}

/* Map Container */
.map-container {
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Social Icons */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

footer p a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

footer p a:hover {
    color: var(--secondary-color);
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

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

/* Door Animation */
.door-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 9999;
    background-color: transparent; /* Background behind the doors */
}

.door {
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), #2c5d7c); /* Subtle gradient */
    transition: transform 1.5s ease-in-out;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5) inset; /* Inner shadow for depth */
}

.door::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background-image: url('images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

.left-door {
    transform-origin: left center;
    border-right: 2px solid #112a3a; /* Darker line for crack */
}

.right-door {
    transform-origin: right center;
    border-left: 2px solid #112a3a; /* Darker line for crack */
}

.door::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #b8860b; /* Gold handle */
    box-shadow: 0 0 5px #b8860b;
}

.left-door::after {
    right: 20px;
    transform: translateY(-50%);
}

.right-door::after {
    left: 20px;
    transform: translateY(-50%);
}

/* Book Page Animation */
body.page-turn::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    z-index: 9999;
    transform-origin: left center;
    animation: page-turn 1.5s forwards;
}

@keyframes page-turn {
    0% {
        transform: rotateY(0);
    }
    100% {
        transform: rotateY(-180deg);
        display: none;
    }
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid var(--primary-color);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.door-open .left-door {
    transform: translateX(-100%);
}

.door-open .right-door {
    transform: translateX(100%);
}

/* Pillar Modal */
.pillar {
    cursor: pointer; /* Make pillars look clickable */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1002; /* Higher than lightbox */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.close-modal-btn {
    position: absolute;
    top: -10px;
    right: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

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

.pillar-slider {
    position: relative;
}

.pillar-slide {
    display: none;
}

.pillar-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.pillar-prev,
.pillar-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    border: none;
    background: rgba(0,0,0,0.3);
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.pillar-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.pillar-prev:hover,
.pillar-next:hover {
    background-color: rgba(0,0,0,0.8);
}



