/* Basic setup */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-color: #faf9f6;
  --text-color: #222222;
  --accent-color: #8c7b66;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  
  /* ADD THESE 3 LINES: */
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Forces the page to be at least 100% of the screen height */
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

/* Centered Navigation Bar */
header {
  position: fixed;
  top: 0; 
  width: 100%;
  padding: 30px 50px;
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  align-items: center;
  gap: 15px; 
  background: rgba(250, 249, 246, 0.95);
  z-index: 1000;
}

.logo {
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-color);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center; 
  gap: 40px; 
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

nav a:hover { color: var(--accent-color); }
.home-about-img img {
    border-radius: 50%; /* This is what makes it a circle */
    width: 250px; /* You can make this bigger or smaller */
    height: 250px; /* Height MUST match width for a perfect circle */
    object-fit: cover; /* Stops the picture from squishing or stretching */
    margin: 0 auto;
    display: block;
}
.home-about-img img {
        width: 250px;
        height: 100px;
       margin: 0 auto;

    }
    
/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 70px);
  max-width: 900px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color);
}

/* Sections */
section {
  padding: 100px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  font-style: italic;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.portfolio-item img {
  width: 100%;
  height: 400px;
  object-fit: cover; /* Keeps images looking good without stretching */
  transition: transform 0.4s ease;
  display: block;
}

.portfolio-item:hover img {
  transform: scale(1.02);
}
/* Portfolio Text Additions */
.portfolio-intro {
  max-width: 700px;
  margin: -30px auto 60px; /* Pulls it closer to the main title */
  text-align: center;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

.location-title {
  font-size: 26px;
  margin: 60px 0 30px;
  font-style: italic;
  text-align: center;
  color: var(--accent-color);
}

.portfolio-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
}

/* Services */
.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.service-box {
  flex: 1 1 300px;
  text-align: center;
  padding: 40px 20px;
  border: 1px solid #e0dcd5;
  /* These new lines turn the box into a flexible column */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.service-box p {
  font-size: 14px;
  color: #555;
  /* This is the magic line that stretches the text box and pushes the button down */
  flex-grow: 1; 
  margin-bottom: 20px;
}
/* Contact Form */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #777;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #eaddcf;
  background-color: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #222;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--accent-color);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: #222;
  color: #fff;
  border: none;
  padding: 16px 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--accent-color);
}
/* Home About Preview Section */
.home-about {
  display: flex;
  align-items: center;
  gap: 50px;
}

.home-about-img {
  flex: 1; /* Takes up half the space */
}

.home-about-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.home-about-text {
  flex: 1; /* Takes up the other half */
}

.home-about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-style: italic;
}

.home-about-text p {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: #222;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  transition: background 0.3s;
}

.btn:hover {
  background-color: var(--accent-color);
  color: #fff;
}

/* Fix for the new hero subtext */
.hero-subtext {
  font-size: 16px !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  color: #555 !important;
  max-width: 600px;
  margin-top: 20px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .home-about { flex-direction: column; }
}
/* Photobooth Special Section */
.photobooth-wrapper {
  width: 100%;
  margin-top: 40px;
  padding: 50px;
  background-color: #fff;
  border: 1px solid #e0dcd5;
}

.photobooth-wrapper h3 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 15px;
}

.photobooth-intro {
  text-align: center;
  font-size: 15px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.booth-options {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.booth-card {
  flex: 1 1 300px;
  padding: 30px;
  background: #fdfcfb;
  border: 1px solid #eaddcf;
  display: flex;
  flex-direction: column;
}

.booth-card h4 {
  font-size: 22px;
  margin-bottom: 15px;
  font-style: italic;
  color: var(--accent-color);
}

.booth-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.booth-includes {
  flex-grow: 1;
  margin-bottom: 30px;
}

.booth-includes span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.booth-includes ul {
  list-style: none;
  font-size: 13px;
  color: #555;
}

.booth-includes li {
  margin-bottom: 8px;
}

.booth-includes li::before {
  content: "✓ ";
  color: var(--accent-color);
  font-weight: bold;
} 
/* Portfolio Titles */
.portfolio-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  text-align: center;
  margin: 60px 0 30px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.03); /* Subtle zoom on hover */
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr; /* Single column for phone */
  }
}

/* Footer */
footer {
  background-color: #f8f6f0; 
  border-top: 1px solid #eaddcf; 
  padding: 30px 50px; 
  margin-top: auto; /* THIS PUSHES IT TO THE BOTTOM */
  display: flex;
  align-items: center;
}

.footer-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777; /* Soft grey instead of harsh black */
}

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

.footer-content a:hover {
  color: var(--accent-color);
}

.footer-left, .footer-right {
  display: flex;
  gap: 30px;
  align-items: center;
}

@media (max-width: 768px) {
  header { padding: 20px; }
  nav ul { flex-wrap: wrap; }
  section { padding: 60px 20px; }
}
/* Language Box - Click Version */
.lang-switcher {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 9999;
}

/* This forces the flag and text to stay on ONE line */
.lang-btn, .lang-dropdown a {
    display: flex !important;
    flex-direction: row !important; /* Forces horizontal alignment */
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    white-space: nowrap !important; /* Stops text from dropping to a second line */
    min-width: 100px !important;    /* Ensures the box is wide enough for the text */
    height: 40px !important;
}

/* Ensures the flag icon has a fixed size */
.fi {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 15px !important;
}
.lang-dropdown {
  display: none; /* Hidden by default */
  position: absolute;
  right: 0;
  top: 45px;
  background-color: #ffffff;
  min-width: 130px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border: 1px solid #eee;
}

/* This class will be toggled by the script */
.lang-dropdown.show {
  display: block;
}

.lang-dropdown a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 13px;
}
.contact-container {
    position: relative;
    z-index: 1; /* Keeps the form on a lower layer than the language box */
    max-width: 600px;
    margin: 0 auto;
}

.lang-dropdown a:hover { background-color: #f5f5f5; }

@media (max-width: 768px) {
  .lang-switcher {
    top: 20px;
    right: 20px;
  }
}
/* Final Mobile Optimization */
@media (max-width: 768px) {
    /* 1. Header & Menu */
    header {
        padding: 10px 15px !important;
        background: rgba(250, 249, 246, 0.98) !important;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px !important;
        max-width: 85%;
    }

    /* 2. Language Switcher */
    .lang-switcher {
        top: 12px !important;
        right: 10px !important;
    }

    .lang-btn {
        padding: 6px 10px !important;
        font-size: 13px !important;
        min-width: 70px;
    }

    /* 3. Global Section Spacing */
    section, .hero {
        padding-top: 180px !important; 
    }

    /* 4. Services List (Stacked) */
    .services-container {
        display: flex;
        flex-direction: column; /* Vertical List */
        gap: 25px;
        padding: 0 15px;
    }

    .service-box {
        width: 100% !important;
        padding: 40px 25px !important;
        box-sizing: border-box; /* Prevents horizontal scrolling */
    }

    .service-box h3 {
        font-size: 26px !important;
        margin-bottom: 12px;
    }

    .service-box p {
        font-size: 17px !important;
        line-height: 1.6;
    }

    .btn {
        width: 100% !important;
        padding: 18px !important;
        display: block;
    }

    /* 5. Photobooth Fix */
    .booth-options {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* 6. Hero Text Fix */
    .hero h1 {
        font-size: 30px !important;
        line-height: 1.2;
    }
/* 1. Forces the overall layout to align to the top */
.home-about {
    align-items: start !important; 
}

/* 2. Targets yaren1.jpg directly to remove any invisible spacing */
.home-about-img img {
    margin-top: 0 !important;
    padding-top: 0 !important;
    /* If it STILL won't move, you can physically nudge it up by changing the 0px below to a negative number like -30px */
    transform: translateY(-40px);
}
/* Mobile Fix for Yaren's Oval Picture */
@media (max-width: 768px) {
    .home-about-img img {
        width: 250px !important;
        height: 250px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important; /* Stops the squish */
        margin-top: 300px !important; /* Fixes the top spacing on phones */
    }
}
}