/* =========================
ROOT COLORS
========================= */

:root{
--bg-cream:#F4EFEA;
--accent-clay:#B08968;
--accent-deep:#7F5539;
--text-dark:#3E3E3E;
--white:#ffffff;
}


/* =========================
GLOBAL
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:var(--bg-cream);
color:var(--text-dark);
margin:0 ;
}

.section-title{
text-align:center;
font-size:32px;
margin-bottom:30px;
}


/* ==========================================================================
   TOP BAR SECTION START
   ========================================================================== */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: var(--accent-deep);
}

.top-bar {
  transition: transform 0.4s ease;
}

.top-bar.hide {
  transform: translateY(-100%);
}

.left-top {
  background: var(--accent-clay);
  color: white;
  padding: 12px 40px;
  position: relative;
  width: 50%;
  clip-path: polygon(0 19%, 0 0, 38% 0%, 71% 0%, 100% 0, 100% 0, 94% 106%, 100% 104%, 100% 29%, 100% 100%, 0 100%, 0 48%);
}

.left-top h3 {
  font-size: 16px;
  margin-left: 150px;
  font-weight: 500;
}

.right-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  gap: 50px;
  padding-right: 100px;
  color: aliceblue;
  font-size: 15px;
}
/* TOP BAR SECTION END */

/* ==========================================================================
   TOP BAR MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }
  
  .left-top {
    width: 100%;
    clip-path: none;
    padding: 10px;
  }
  
  .left-top h3 {
    margin-left: 0;
  }
  
  .right-content {
    padding-right: 0;
    gap: 15px;
    margin: 10px 0;
    flex-direction: column;
  }
}
/* =========================================================
   HAMBURGER MENU
========================================================= */

.hamburger{
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1100;
}

.hamburger span{
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.4s ease;
}

/* Animate into X */
.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
  opacity: 0;
}

.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(6px,-6px);
}
   
/* ==========================================================================
   NAVBAR SECTION START
   ========================================================================== */
.navbar {
  position: fixed;
  top: 48px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center; 
  padding: 10px 5px;
  background-color: var(--accent-deep);
  z-index: 1000;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  top: 0;
}

.navbar h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--white);
}

.nav-section {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  list-style-type: none;
}

.nav-section i {
  transition: transform 0.4s ease;
}

.nav-section i:hover {
  transform: rotate(180deg);
}

.nav-section li a {
  font-size: 18px;
  text-decoration: none;
  color: var(--white);
}

#nav-button {
  position: relative;
  overflow: hidden;
  background: var(--accent-clay);
  color: var(--white);
  padding: 16px 24px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

#nav-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 50%;
  height: 200%;
  background: var(--accent-deep);
  transform: rotate(25deg);
  transition: 0.6s ease;
}

#nav-button:hover::before {
  left: 120%;
}

#nav-button:hover {
  transform: translateY(-3px);
}
/* NAVBAR SECTION END */

/* ==========================================================================
   NAVBAR MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
  /* Navbar Mobile */
.navbar{
  flex-direction: row;
  justify-content: space-between;
  top:150px;
  padding: 15px 20px;
}

.hamburger{
  display: flex;
}

.nav-section{
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--accent-deep);
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 30px 0;
  transform: translateY(-120%);
  opacity: 0;
  transition: 0.4s ease;
}

.nav-section.active{
  transform: translateY(0);
  opacity: 1;
}

#nav-button{
  display: none;
}
}
@media (max-width: 1024px) {
  .nav-section {
    gap: 40px;
  }
}

/* =========================
HERO SECTION
========================= */

.gallery-hero{
height:50vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;

background:
linear-gradient(
rgba(127,85,57,0.6),
rgba(127,85,57,0.6)
),
url("images/gallery-hero.jpg");

background-size:cover;
background-position:center;

color:white;
}

.gallery-hero h1{
font-size:42px;
margin-bottom:10px;
}

.gallery-hero p{
font-size:18px;
opacity:0.9;
}


/* =========================
EVENT SECTION
========================= */

.event-section{
padding:80px 10%;
}

.event-heading{
font-size:32px;
margin-bottom:35px;
color:var(--accent-deep);
text-align:center;
}


/* =========================
EVENT GRID
========================= */

.event-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}


/* =========================
EVENT IMAGES
========================= */

.event-item{
overflow:hidden;
border-radius:10px;
transition:0.3s;
}

.event-item img{
width:100%;
aspect-ratio:4/4;
object-fit:cover;
transition:0.4s;
}

.event-item:hover img{
transform:scale(1.08);
}

.event-item:hover{
box-shadow:0 12px 25px rgba(0,0,0,0.15);
}


/* =========================
CTA SECTION
========================= */

.gallery-cta{
text-align:center;
padding:80px 20px;
background:var(--accent-clay);
color:white;
}

.gallery-cta h2{
font-size:32px;
margin-bottom:10px;
}

.gallery-cta p{
font-size:16px;
margin-bottom:20px;
}

.cta-btn{
display:inline-block;
margin-top:10px;
padding:12px 30px;
background:white;
color:var(--accent-deep);
text-decoration:none;
border-radius:30px;
font-weight:600;
transition:0.3s;
}

.cta-btn:hover{
background:var(--accent-deep);
color:white;
transform:translateY(-2px);
}


/* =========================
RESPONSIVE DESIGN
========================= */

@media(max-width:900px){

.event-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.event-grid{
grid-template-columns:1fr;
}

.gallery-hero h1{
font-size:30px;
}

.event-heading{
font-size:26px;
}

}
/* ==========================================================================
   FOOTER SECTION START
   ========================================================================== */
.footer {
  background: var(--accent-deep);
  color: white;
  padding: 80px 10% 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--accent-clay);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  color: #ddd;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
  color: #ddd;
  cursor: pointer;
  transition: 0.3s;
}

.footer-col ul li a {
  text-decoration: none;
  color: #ddd;
}

.footer-col ul li:hover,
.footer-col ul li a:hover {
  color: var(--accent-clay);
}

.social-icons {
  margin-top: 15px;
}

.social-icons i {
  margin-right: 12px;
  font-size: 18px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.social-icons i:hover {
  color: var(--accent-clay);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}
/* FOOTER SECTION END */

/* ==========================================================================
   FOOTER MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
/* logo */
.logo img{
height:55px;
width:auto;
object-fit:contain;
}