/*!
Theme Name: foto-portfolio
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: foto-portfolio
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

foto-portfolio is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/* Reset and Base Styles */
/* CSS Variables */
:root {
  --background: hsl(20, 14%, 4%);
  --foreground: hsl(40, 20%, 95%);
  --card: hsl(20, 14%, 8%);
  --card-foreground: hsl(40, 20%, 95%);
  --primary: hsl(40, 70%, 50%);
  --primary-foreground: hsl(20, 14%, 4%);
  --secondary: hsl(20, 14%, 12%);
  --secondary-foreground: hsl(40, 20%, 95%);
  --muted: hsl(20, 14%, 15%);
  --muted-foreground: hsl(40, 10%, 60%);
  --border: hsl(40, 10%, 20%);
  --gold: hsl(40, 70%, 50%);
  --gold-light: hsl(40, 70%, 65%);
  --gold-dark: hsl(40, 70%, 35%);
  --gradient-gold: linear-gradient(135deg, hsl(40, 70%, 50%), hsl(40, 70%, 35%));
  --gradient-card: linear-gradient(145deg, hsl(20, 14%, 10%), hsl(20, 14%, 6%));
  --shadow-gold: 0 0 30px hsla(40, 70%, 50%, 0.2);
  --shadow-elegant: 0 25px 50px -12px hsla(0, 0%, 0%, 0.5);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
  --radius: 0.5rem;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px hsla(40, 70%, 50%, 0.3);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-gold-outline:hover {
  background: hsla(40, 70%, 50%, 0.1);
}

.btn-full {
  width: 100%;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.header.scrolled {
  background: hsla(20, 14%, 4%, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.logo-text {
  font-weight: 400;
}

.logo-accent {
  font-weight: 600;
  color: var(--gold);
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

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

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.mobile-menu-btn.active .hamburger {
  background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.nav-mobile.active {
  display: block;
}

.nav-link-mobile {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, hsla(40, 70%, 50%, 0.08), transparent 50%);
}

.hero-blur {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-blur-1 {
  top: 20%;
  right: 10%;
  background: hsla(40, 70%, 50%, 0.1);
}

.hero-blur-2 {
  bottom: 20%;
  left: 10%;
  background: hsla(40, 70%, 35%, 0.08);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-image-container {
  position: relative;
  max-width: 400px;
}

.hero-image {
  border-radius: 999px 999px 1rem 1rem;
  box-shadow: var(--shadow-elegant);
  border: 1px solid var(--border);
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--gradient-gold);
  color: var(--primary-foreground);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted-foreground);
  animation: bounce 2s infinite;
}

/* Section Styles */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--card);
}

.about-content {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.about-text {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(40, 70%, 50%, 0.1);
  border-radius: 50%;
  color: var(--gold);
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Portfolio Section */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  background: transparent;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--gold);
  border-color: var(--gold);
  background: hsla(40, 70%, 50%, 0.1);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.portfolio-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
	object-position:top;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0, 0%, 0%, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

/* Services Section */
.services {
  background: var(--card);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(40, 70%, 50%, 0.1);
  border-radius: 50%;
  color: var(--gold);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.service-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.service-price {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
}

.services-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.services-cta p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr ;
  }
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

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

.contact-info {
      display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
	max-width:45%;
	width:100%
}

.contact-item:hover {
  border-color: var(--gold);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(40, 70%, 50%, 0.1);
  border-radius: 50%;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1rem;
  transition: color 0.3s ease;
}

a.contact-value:hover {
  color: var(--gold);
}

.contact-note {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: hsla(40, 70%, 50%, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.contact-note svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* Footer */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-tagline {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--foreground);
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  color: var(--foreground);
  box-shadow: var(--shadow-elegant);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3000;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-info{
    flex-direction: column;
  }
  .contact-item{
    max-width: 100%;
  }
  .hero {
    padding-top: 8rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}