/* Main Styles for Justus Photography Website */

/* Global Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #e67e22;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --font-main: 'Montserrat', sans-serif;
  --font-accent: 'Playfair Display', serif;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
  font-weight: 700;
}

/* Header & Navigation */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link.active {
  color: var(--secondary-color);
  font-weight: 600;
}

.navbar-brand {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.nav-link {
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
}

.service-card {
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Portfolio Gallery */
.portfolio {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.portfolio-item {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.portfolio-item img {
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-content {
  color: white;
  text-align: center;
}

/* About Section */
.about {
  padding: 5rem 0;
}

.about-img {
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.price-card {
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: white;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-header {
  text-align: center;
  margin-bottom: 2rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.price-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.price-features li:last-child {
  border-bottom: none;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-right: 1rem;
}

.form-control {
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 0.8rem;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--secondary-color);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
}

.social-icons {
  list-style: none;
  padding-left: 0;
  display: flex;
}

.social-icons li {
  margin-right: 1rem;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

.btn-outline-primary {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}
