@font-face {
  font-family: "Merriweather-Italic";
  src: url("../fonts/Merriweather-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Merriweather";
  src: url("../fonts/Merriweather.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "GreatVibes";
  src: url("../fonts/GreatVibes-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
:root {
    --primary-color: #092558;
    --secondary-color: #bfa25f;
    --text-color: #333;
    --bg-color: #fff;
    --footer-bg: #2c3e50;
    --footer-text: #092558;
    --transition-speed: 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Merriweather', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.bg1 {
    background: url("../images/bg_1.png") repeat;
}
.bg2 {
    background: url("../images/bg_2.png") repeat;
}
.bg3 {
    background: url("../images/bg_3.png") repeat;
}
.bg4 {
    background: url("../images/bg_4.png") repeat;
}

.inner-shadow-white {
    box-shadow: inset 0 0 1000px 50px #ffffff20;
}
.inner-shadow-gold {
    box-shadow: inset 0 0 1000px 50px #bfa25f90;
}
.inner-shadow-black {
    box-shadow: inset 0 0 1000px 50px #00000050;
}
.inner-shadow-blue {
    box-shadow: inset 0 0 1000px 50px #09255880;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section h2 {
    text-align: center;
    font-size: 3.5rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--primary-color);
    box-shadow: inset 0 0 1000px 50px #95630180;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
    padding: 40px 20px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    gap: 30px;
    height: 100%;
    position: relative;
    z-index: 10;
}

.hero-top{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    animation: slideDown 0.8s ease-out;
    width: 100%;
}

.hero-bottom{
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    position: absolute;
    right: -100px;
    top: -50px;
    width: auto;
    height: 100%;
    max-width: 70%;
    max-height: 100vh;
    object-fit: contain;
    transition: transform var(--transition-speed);
    z-index: 1;
    margin: 0;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-image.non-mobile {
    display: none;
}

.hero-image.mobile {
    display: block;
}

.hero-background-image {
    position: absolute;
    bottom: -50px;
    right: -150px;
    width: auto;
    height: 60%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.hero-content .logo {
    width: clamp(150px, 25vw, 300px);
    height: clamp(150px, 25vw, 300px);
    object-fit: contain;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-button {
    background: 
        linear-gradient(45deg, transparent 30%, rgba(191, 162, 95, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(191, 162, 95, 0.05) 50%, transparent 70%),
        url("../images/bg_2.png") repeat;
    background-size: 100px 100px, 100px 100px, auto;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    padding: clamp(12px, 2vh, 15px) clamp(40px, 6vw, 100px);
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    cursor: pointer;
    transition: var(--transition-speed);
    border-radius: 15px;
    font-family: "Merriweather", serif;
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.hero-button:hover {
    box-shadow: inset 0 0 30px 0 var(--primary-color), 0 0 20px rgba(191, 162, 95, 0.4);
    transform: translateY(-2px);
}

.hero-button:active {
    transform: translateY(0);
}

.hero-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 6px;
    font-style: italic;
    font-family: "GreatVibes", cursive;
    color: var(--primary-color);
}

.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.side-title-left {
    height: 30px;
    width: 130px;
    background-image: url("../images/side_title_left.png");
    background-size: cover;
}

.side-title-right {
    height: 30px;
    width: 130px;
    background-image: url("../images/side_title_right.png");
    background-size: cover;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-content img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.about-content img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(9, 37, 88, 0.2);
}

.trapezoid-shape {
    min-height: 200px;
    width: 100%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 0% 100%);
    box-shadow: 0 0 10px rgba(191, 162, 95, 0.2);
}

/* Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition-speed);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-links {
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.03) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.03) 50%, transparent 100%),
        url("../images/bg_2.png") repeat;
    background-size: 150px 150px, 150px 150px, auto;
    position: absolute;
    right: 0;
    top: 0;
    padding: 15px 75px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    width: 100vw;
    border-bottom: 3px solid var(--primary-color);
    transition: var(--transition-speed);
    z-index: 1;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: var(--transition-speed);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    text-shadow: 0px 0px 7px var(--primary-color);
}

.nav-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}
#about-gallery-container {
    padding: 10vh 0;
}
#about-gallery-bg-overlay {
    background: linear-gradient(to bottom, #FFFFFF00 0%, #FFFFFF70 40%, #FFFFFF70 60%, #FFFFFF00);
    padding: 80px 0;
}
/* About Us Section */

#about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#about a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--secondary-color);
    transition: var(--transition-speed);
}

#about a:hover {
    color: var(--secondary-color);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top:50px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), filter var(--transition-speed);
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(191, 162, 95, 0.2);
}

.gallery-grid img::after {
    content: attr(data-title);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(9, 37, 88, 0.9), transparent);
    color: var(--secondary-color);
    padding: 20px 10px 10px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity var(--transition-speed);
    pointer-events: none;
}

.gallery-grid img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(191, 162, 95, 0.3);
    border-color: var(--primary-color);
}

.gallery-grid img:hover::after {
    opacity: 1;
}
#gallery .section {
    position: relative;
    z-index: 1;
}

#gallery .title {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#gallery .side-title-left,
#gallery .side-title-right {
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Contacts Section */
#contact {
    box-shadow: 0px -20px 50px 0px #00000030, inset 0 0 1000px 50px #bfa25f90;
    border-top: 1px solid var(--primary-color);
}
.contact-info {
    text-align: center;
    font-size: 1.1rem;
    border: 2px solid var(--primary-color);
    padding: 10px 30px;
  clip-path: polygon(
    0px 27px, 70px 0, calc(100% - 10px) 3px, 100% 130px,
    100% calc(100% - 40px), calc(100% - 40px) 100%,
    400px 100%, 3px calc(100% - 10px)
  );
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: var(--primary-color);
}

.contact-info-wrapper {
    flex: 1;
}

.contact-icon-text {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding: 3px 0;
}

.contact-icon-text p {
    margin: 0;
    text-align: left;
}

.contact-icon-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-speed);
    border-bottom: 1px solid transparent;
}

.contact-icon-text a:hover {
    color: var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
}

.contact-icon {
    height: 40px;
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
    flex-shrink: 0;
}
.sub-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.sub-title h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-style: italic;
    margin-top: 0;
    padding-top: 0;
    font-weight: lighter;
}
.left-line {
    max-width: 100px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, var(--primary-color), transparent);
}
.right-line {
    max-width: 100px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}
.blue-bar {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    margin: 20px 0;
}

/* Google Map */
.google-map {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.google-map-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    flex: 1;
}

.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
    transition: var(--transition-speed);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 9px;
}

/* Modal for Gallery */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-caption {
    color: var(--secondary-color);
    font-size: 1.1rem;
    text-align: center;
    margin-top: 20px;
    font-style: italic;
}

.modal-close {
    color: var(--secondary-color);
    position: absolute;
    top: 30px;
    right: 45px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-speed);
    user-select: none;
}

.modal-close:hover {
    color: #fff;
    transform: scale(1.2);
}

.modal-prev, .modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
    transition: var(--transition-speed);
    border-radius: 3px;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.modal-prev:hover, .modal-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.modal-prev {
    left: 0;
}

.modal-next {
    right: 0;
}

/* Footer Section */
.footer {
    color: var(--footer-text);
    padding-top: 30px;
    border-top: 1px solid var(--primary-color);
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.02) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.02) 50%, transparent 100%),
        url("../images/bg_2.png") repeat;
    background-size: 200px 200px, 200px 200px, auto;
    background-position: 0 0, 0 0, 0 0;
    background-attachment: fixed, fixed, scroll;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, lightgray, transparent);
    pointer-events: none;
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 15px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand {
    grid-column: auto;
    text-align: left;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-title {
    font-family: "GreatVibes", cursive;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 2px;
    transition: var(--transition-speed);
}

.footer-title:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

.footer-tagline {
    font-style: italic;
    color: var(--primary-color);
    font-size: 0.75rem;
    margin: 0;
}

.footer-section-title {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition-speed);
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width var(--transition-speed);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(191, 162, 95, 0.5);
}

.footer-links a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(191, 162, 95, 0.1);
    border: 2px solid var(--primary-color);
    transition: var(--transition-speed);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(191, 162, 95, 0.3);
}

.social-link:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.social-icon {
    width: 18px;
    height: 18px;
    filter: brightness(1.2);
}

.social-link:hover .social-icon {
    filter: brightness(30);
}

.footer-bottom {
    text-align: center;
    padding: 12px 0;
    border-top: 1px solid rgba(25, 12, 85, 0.2);
    font-size: 0.75rem;
    color: var(--primary-color);
}
.mobile {
    display: none;
}
.non-mobile {
    display: block;
}

/* laptop.css - styles for screens >= 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
   .nav-links a {
    font-size: 0.9rem;
 }
 .nav-links {
    padding: 10px 30px;
    border-bottom: 2px solid var(--primary-color);
 }

 .hero-button{
    border: 2px solid var(--primary-color);
    padding: 16px 32px;
    font-size: 0.7rem;
 }
 .hero-content .logo{
        width: 250px;
    height: 250px;
 }
 .title{
    font-size: 2.2rem;
 }
 .hero {
    height: 100vh;
 }
 .hero-background-image{
    right: -80px;
    height: 45%;
 }
 #about-gallery-container{
    padding: 10px;
 }
 .section h2{
    font-size: 2.2rem;
 }
 #about p{
    font-size: 1rem;
 }
 .section {
    padding: 40px 0;
 }
 .sub-title h3{
    font-size: 0.9rem;
    text-align: center;
 }
 .left-line, .right-line{
    max-width: 60px;
 }
 .contact-content {
    flex-direction: column;
    text-align: center;
 }
 .footer-content {
    display: flex;
    flex-direction: column;
 }
 .footer-title {
    text-align: center;
 }
 .footer-section-title {
    text-align: center;
 }
}
/* tablet.css - styles for screens between 600px and 768px */
@media (min-width: 600px) and (max-width: 768px) {
   .nav-links a {
    font-size: 0.9rem;
 }
 .nav-links {
    padding: 10px 30px;
    border-bottom: 2px solid var(--primary-color);
 }

 .hero-button{
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    font-size: 0.7rem;
 }
 .hero-content .logo{
        width: 200px;
    height: 200px;
 }
 .title{
    font-size: 1.8rem;
 }
 .hero {
    height: 100vh;
 }
 .hero-background-image{
    right: -80px;
    height: 45%;
 }
 #about-gallery-container{
    padding: 10px;
 }
 .section h2{
    font-size: 1.8rem;
 }
 #about p{
    font-size: 0.9rem;
 }
 .section {
    padding: 40px 0;
 }
 .sub-title h3{
    font-size: 0.9rem;
    text-align: center;
 }
 .left-line, .right-line{
    max-width: 60px;
 }
 .contact-content {
    flex-direction: column;
    text-align: center;
 }
 .footer-content {
    display: flex;
    flex-direction: column;
 }
 .footer-title {
    text-align: center;
 }
 .footer-section-title {
    text-align: center;
 }
}
/* mobile.css - styles for screens up to 600px */
@media (max-width: 600px) {
 .nav-links a {
    font-size: 0.9rem;
 }
 .nav-links {
    padding: 10px 30px;
    border-bottom: 2px solid var(--primary-color);
 }
 .hero-content .logo{
        width: 200px;
    height: 200px;
 }
 .hero-button{
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    font-size: 0.7rem;
 }
 .title{
    font-size: 1.8rem;
 }
 .hero {
    height: 100vh;
 }
 .hero-background-image{
    right: -80px;
    height: 45%;
 }
 #about-gallery-container{
    padding: 10px;
 }
 .section h2{
    font-size: 1.8rem;
 }
 #about p{
    font-size: 0.9rem;
 }
 .section {
    padding: 40px 0;
 }
 .sub-title h3{
    font-size: 0.9rem;
    text-align: center;
 }
 .left-line, .right-line{
    max-width: 60px;
 }
 .contact-content {
    flex-direction: column;
    text-align: center;
 }
 .footer-content {
    display: flex;
    flex-direction: column;
 }
 .footer-title {
    text-align: center;
 }
 .footer-section {
    align-items: center;
 }
 .footer-section-title {
    text-align: center;
 }
}
@media (max-width: 500px) {
.side-title-left, .side-title-right {
    height: 15px;
    width: 65px;
}
}