@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/brittany-signature');

/* All Sections */

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

body {
    margin: 0;
    background-color: #ffffff;
    font-family: 'Playfair Display';
    overflow-x: hidden;
}

.section-title {
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 5px;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e8ddd0; /* line color */
  margin: 0 5px;
}

/* Typeface Sizing */

h1 {
    font-size: clamp(28px, 3vw + 1rem, 50px);
}

h2 {
    font-family: 'Playfair Display';
    font-weight: lighter;
    text-align: center;
    font-size: clamp(18px, 4vw, 24px);
}

p, li {
    font-size: clamp(16px, 1.2vw, 18px);
}

.nav-container nav a {
    font-size: clamp(14px, 3vw, 18px);
}

.about-container q {
    font-size: clamp(24px, 2vw, 28px);
}

.contact-container .contact-content form label {
    font-size: clamp(14px, 1.5vw, 16px);
}

.contact-container .contact-content form button {
    font-size: clamp(12px, 1.5vw, 14px);
}

.contact-container .contact-content .contact-r p {
    font-size: 14px;
}

h3 {
    font-size: 16px;
}

.footer-nav a {
    font-size: 14px;
}

.copyright {
    font-size: 12px;
}

/* Header Section */

.nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    width: 45vw;
    margin-right: 5px;
}

nav a {
    text-decoration: none;
    color: black;
}

nav a:hover {
    transform: scale(1.1);
}

nav a:active {
    color: #8b742d;
}

h1 {
    font-family: 'Playfair Display';
    font-weight: lighter;
    color: #8b742d;
}

/* Hero Section */
.hero-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.l-col {
    width: 68%;
    padding-right: 2.5px;
}

.r-col {
    display: flex;
    flex-direction: column;
    width: 30%;
    padding-left: 3.5px;
}

.r-row-1 {
    display: flex;
    gap: 7px;
    height: 57%;
    padding-bottom: 3.5px;
}

.r-row-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 1 1 0;
    min-width: 0;
    display: block;
}

.r-row-2 {
    box-sizing: border-box;
    height: 43%;
    width: 100%;
    padding-top: 3.5px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */

.about-container {
    display: flex;
    flex-direction: column;
    margin: 0 5px;
    font-family: Montserrat, sans-serif;
}

q {
    font-family: 'Brittany Signature';
    color: #8b742d;
    text-align: center;
    font-size: 1.2rem;
}

.about-container span {
    font-weight: bold;
}

.text-section {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-size: 12px;
    text-align: left;
}

.about-col-1 {
    width: 45%;
    padding: 5px;
}

.about-col-2 {
    width: 45%;
    padding: 5px;
}

/* Gallery Section */

.gallery-container {
    padding: 5px;
    text-align: justify;
}

.gallery-wrapper {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.gallery {
  width: 100%;
  display: grid;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 15%, 300px), 1fr));
}

.gallery li {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.gallery li a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter .3s ease-in-out;
  filter: grayscale(100%);
  border-radius: 5px;
}

.gallery li img:hover {
  filter: none;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,1);
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox .close:hover {
    color: #ff0000;
}

/* Contact Section */

.contact-container {
    display: flex;
    flex-direction: column;
    margin: 0 5px;
    margin-bottom: 20px;
}

.contact-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.contact-l {
    width: 45%;
}

.contact-l form {
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.contact-l label {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    margin-top: 10px;
}

.contact-l input, .contact-l textarea {
    padding: 8px;
    font-family: Montserrat, sans-serif;
    border: 1px solid #8b742d;
    border-radius: 3px;
}

.contact-l button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    padding: 10px;
    background-color: #8b742d;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    width:70px;
    height: 30px;
    padding: 5px;
    font-size: 0.7em;
    font-family: Montserrat, sans-serif;

}

.contact-l button:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.contact-r {
    width: 45%;
    margin-left: 10px;
}

.contact-r p {
    font-family: Montserrat, sans-serif;
    text-align: right;
}

.contact-r span {
    font-weight: bold;
}

/* Footer Section */

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #e8ddd0;
    width: 100%;
    padding: 10px 0;
    margin: 0;
}

.footer-container h3 {
    color: #8b742d;
    margin: 0 0 5px 0;
}

.footer-l2 {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    margin: 5px 0;
    flex-wrap: wrap;
}

.footer-nav {
    margin: 5px auto;
    display: flex;
    gap: 15px;
}

.footer-social {
    position: absolute;
    right: 40px;
    display: flex;
    gap: 15px;
}

.footer-social img {
    width: 16px;
}

.footer-social a {
    text-decoration: none;
}


@media (max-width: 480px) {

    .container {
        max-width: 100%; 
        padding: 0;
        margin: 5px;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
    }

    nav {
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 5px 0;
    }

    h1 {
        text-align: center;
        margin: 0;
    }

    .about-container .text-section {
        flex-direction: column;
    }

    .about-container .text-section .about-col-1, .about-col-2 {
        width: 100%;
    }

    .contact-content {
    flex-direction: column;
    align-items: center;
    }

    .contact-l,
    .contact-r {
        width: 100%;
    }

    .contact-l {
        margin-bottom: 15px;
    }

    .contact-l form {
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }

        .contact-r p {
        text-align: center;
    }

    .footer-l2 { flex-direction: column; align-items: center; gap: 8px; } .footer-social { position: static; /* removes absolute positioning */ transform: none; }
}