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

/* reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
}
ul {
    list-style: none;
}
p span {
    display: inline-block;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
caption, th {
    text-align: left;
    font-weight: normal;
}
q:before, q:after {
    content: '';
}
object, embed {
    vertical-align: top;
}
legend {
    display: none;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}
img, abbr, acronym, fieldset {
    border: 0;
}
u {
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
}

/* Base Styles */
body {
    font-size: 16px;
    font-family: 'Lora', serif;
    font-weight: 400;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    color: #333333;
    background: #FDF5E6;
    line-height: 1.8;
}
a {
    color: #D4AC0D; /* Tertiary Accent */
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover, .active {
    text-decoration: underline;
    color: #FAD7A0; /* Primary Orange */
}
a:active, a:focus, input:active, input:focus {
    outline: 0;
}

/* Header */
#header {
    text-align: center;
}
#header h1 {
    padding-top: 40px;
}
#mainnav a {
    color: #000000; /* Explicit black */
    font-weight: 400;
    transition: color 0.3s ease; /* Add transition for color change */
}
#mainImg {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0; /* Set height to 0 */
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}
#mainImg img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-below-slider {
    padding: 50px 20px; /* Add padding */
    text-align: center;
    background-color: #FDF5E6; /* Match body background */
}

.hero-content-below-slider h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em; /* Slightly smaller for a section */
    margin-bottom: 20px;
    color: #333333; /* Text color */
    text-shadow: none; /* Remove text shadow */
}

.hero-content-below-slider p {
    font-family: 'Lora', serif;
    font-size: 1.2em; /* Slightly smaller */
    margin-bottom: 30px;
    color: #333333; /* Text color */
    text-shadow: none; /* Remove text shadow */
}

.btn-hero {
    display: inline-block;
    background-color: #D4AC0D;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-hero:hover {
    background-color: #FAD7A0;
    transform: translateY(-3px);
}
#mainnav > div > ul > li {
    font-size: 17px;
}

/* Footer */
#footer {
    clear: both;
    padding: 60px 20px; /* Increased padding */
    text-align: center;
    font-size: 14px; /* Slightly larger font */
    color: #A9A9A9; /* Secondary Accent */
    background-color: #FDF5E6; /* Consistent with body background */
    border-top: 1px solid #FAD7A0; /* Primary Orange border */
}

/* Common */
img {
    max-width: 100%;
    height: auto;
}
section {
    clear: both;
    padding-top: 90px;
}
section h2 {
    font-family: 'Playfair Display', serif;
    width: 80%;
    margin: 0 auto 60px;
    font-size: 56px;
    font-weight: 400;
    text-align: center;
    color: #333333;
    background: url(../images/borderBlack.png) repeat-x 0 50%;
    background-size: 1px 1px;
}
section h2 span {
    background: #FDF5E6;
    padding: 0 40px;
}
.inner {
    width: 94%;
    margin: 0 auto;
    padding-bottom: 80px; /* Increased padding */
}
.innerS {
    width: 60%;
    margin: 0 auto;
    padding-bottom: 80px;
    text-align: center;
}
.about-head {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}
.about-txt1 {
    font-size: 16px;
}
.about-section {
    margin: 35px 0;
    font-size: 15px;
}
.about-section i {
    color: #A9A9A9; /* Secondary Accent */
    margin-right: 8px;
}

/* SEC02 Gallery */
#sec02 {
    padding: 0 !important;
}
#sec02 header {
    display: none;
}
#gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Add a small gap between items */
}
#gallery li {
    width: calc(33.333% - 6.666px); /* Adjust width to account for gap (10px / 3 items) */
    line-height: 0;
    overflow: hidden;
}
#gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
#gallery li:hover img {
    transform: scale(1.1);
}

/* SEC03 MENU */
#sec03 img {
    width: 100%;
    margin-bottom: 30px;
}
.menu-group_description {
    font-size: 16px;
    padding-bottom: 40px;
}
.menu-group_este {
    font-family: 'Pacifico', cursive;
    font-size: 40px;
    color: #333;
    padding-bottom: 40px;
}
.menu-group_menu-list {
    width: 100%;
    border-top: 1px solid #eee;
    padding-top: 40px;
}
.menu-content {
    text-align: left;
    font-size: 16px;
    padding: 15px 0;
}
.border {
    border-top: 1px solid #eee;
}
.innerS-menu {
    width: 50%;
    margin: 0 auto;
    padding-bottom: 80px;
    text-align: center;
}
.just {
    text-align: right;
    font-weight: 400;
}

.menu-group_menu-list th,
.menu-group_menu-list td {
    color: #000000; /* Explicit black for menu text */
}

/* SEC04 SCHEDULE */
.subimg {
    max-width: 100%;
    width: 100%;
    height: auto;
    padding-bottom: 60px;
}
.calender-contain {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 auto; /* Changed to auto for better centering */
    padding: 0 20px; /* Added horizontal padding */
    padding-top: 60px;
}
.calendar-container-left, .calendar-container-center, .calendar-container-right {
    width: 30%;
    max-width: 400px;
    font-size: 18px;
    border-radius: 15px;
    color: #1a1a1a;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* More subtle shadow */
    overflow: hidden;
}
.calender-title {
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    background-color: #FAD7A0; /* Primary Orange */
    color: #333333; /* Text Color */
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
}
.calendar {
    padding: 20px;
}
table {
    width: 100%;
}
th, td {
    text-align: center;
    padding: 8px 0;
}
th {
    font-weight: 700;
    font-size: 16px;
    color: #A9A9A9; /* Secondary Accent */
}
td {
    font-weight: 400;
}
.day td:first-child {
    color: #D4AC0D; /* Tertiary Accent */
}
.day td:last-child {
    color: #A9A9A9; /* Secondary Accent */
}

/* SEC05 ACCESS */
#sec05 p {
    margin-bottom: 10px;
}
.col2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.col2 li {
    flex: 1;
    min-width: 300px;
}
#map {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}
#map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* Floating Button */
.btn-partial-line {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #D4AC0D; /* Tertiary Accent */
    color: white;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 172, 13, 0.2); /* Updated shadow color */
    transition: all 0.3s ease;
    z-index: 100;
}
.btn-partial-line:hover {
    background-color: #FAD7A0; /* Primary Orange */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 172, 13, 0.25); /* Updated shadow color */
    text-decoration: none;
}
.btn-partial-line i {
    margin-right: 8px;
}

/* RESPONSIVE */
@media only screen and (min-width: 1200px) {
    .inner {
        width: 1024px;
    }
}
@media only screen and (min-width: 800px) {
    a#menu {
        display: none;
    }
    .panel {
        display: block !important;
    }
    #mainnav li {
        display: inline-block;
        padding: 25px 20px; /* Adjusted padding for a more compact header */
        font-size: 16px; /* Slightly larger font for readability */
    }
}
@media only screen and (max-width: 900px) {
    .calender-contain {
        flex-direction: column;
        align-items: center;
    }
    .calendar-container-left, .calendar-container-center, .calendar-container-right {
        width: 80%;
        margin-bottom: 30px;
    }
}
@media only screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .innerS, .innerS-menu {
        width: 90%;
    }
    
    p span {
        display: inline;
    }
    #header {
        width: 100%;
        z-index: 500;
    }
    
    #headerWrap {
    position: relative;
    width: 100%;
    height: 70px;
    background: #fff;
    border-bottom: 1px solid #FAD7A0; /* Primary Orange */
}
    #header h1 {
        padding-top: 10px;
        text-align: center;
    }
    #header h1 img {
        margin-top: 3px;
        max-height: 45px;
        width: auto !important;
    }
    a#menu {
        display: inline-block;
        position: absolute;
        top: 5px;
        right: 5px;
        width: 50px;
        height: 50px;
    }
    #menuBtn {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2px;
        margin: -1px 0 0 -10px;
        background: #333;
        transition: .2s;
    }
    #menuBtn:before, #menuBtn:after {
        display: block;
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: #333;
        transition: .3s;
    }
    #menuBtn:before {
        top: -6px;
    }
    #menuBtn:after {
        top: 6px;
    }
    a#menu .close {
        background: transparent;
    }
    a#menu .close:before {
        transform: rotate(45deg);
        top: 0;
    }
    a#menu .close:after {
        transform: rotate(-45deg);
        top: 0;
    }
    .panel {
        width: 100%;
        display: none;
        position: absolute;
        left: 0;
        top: 70px;
        z-index: 100;
    }
    #mainnav {
        position: static;
    }
    #mainnav ul {
        border-top: 1px solid #FAD7A0; /* Primary Orange */
        background: #fff;
        text-align: left;
    }
    #mainnav li a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid #FAD7A0; /* Primary Orange */
    }
    #mainnav li a:before {
        display: none;
    }
    #mainImg {
        /* height and padding-top removed */
    }
    #mainImg > img {
        /* padding-top removed */
        height: 100%;
    }
    section {
        padding-top: 60px;
    }
    section h2 {
        font-size: 40px;
        margin-bottom: 30px;
    }
    #gallery li {
        width: 50%;
    }
    .about-section {
        text-align: left;
    }
    .btn-partial-line {
        font-size: 16px;
        padding: 12px 20px;
        bottom: 20px;
        right: 20px;
    }
}
@media only screen and (max-width: 480px) {
    #gallery li {
        width: 100%;
    }
    #gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Smaller min width for mobile */
    }
    .innerS, .innerS-menu {
        width: 94%;
    }
    
    .calendar-container-left, .calendar-container-center, .calendar-container-right {
        width: 95%; /* Wider for very small screens */
    }
}