/* 
==============================================
ELITE MODELS AGENCY - CSS Stylesheet
==============================================
*/

/* Base Styles & Reset */
:root {
  --primary-color: #d4af37;
  --secondary-color: #333;
  --light-color: #fff;
  --dark-color: #111;
  --gray-color: #f5f5f5;
  --text-color: #333;
  --border-color: #e0e0e0;
  --font-primary: 'Roboto', sans-serif;
  --font-display: 'Playfair Display', serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: var(--light-color);
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--dark-color);
}

.btn-primary:hover {
  background-color: #c19e2e;
  color: var(--dark-color);
}

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

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.95);
}

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

.logo a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-list li {
  margin: 0 15px;
}

.nav-link {
  color: var(--light-color);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--light-color);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  background-image: url('https://images.unsplash.com/photo-1483985988355-763728e1935b');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--light-color);
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  color: #666;
}

/* Models Showcase */
.models-section {
  padding: 100px 0;
  background-color: var(--gray-color);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.model-card {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.model-image {
  height: 350px;
  overflow: hidden;
}

.model-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.model-card:hover .model-image img {
  transform: scale(1.05);
}

.model-info {
  padding: 20px;
}

.model-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.model-info > p {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.model-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.model-stats span {
  font-size: 0.9rem;
  color: #666;
}

.view-more-container {
  text-align: center;
  margin-top: 50px;
}

/* Portfolio Gallery */
.portfolio-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  background: none;
  border: none;
  padding: 8px 20px;
  margin: 0 5px 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #555;
  transition: var(--transition);
  border-radius: 4px;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--dark-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
  text-align: center;
}

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

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

.portfolio-overlay h3 {
  color: var(--light-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.portfolio-overlay p {
  color: var(--primary-color);
  margin-bottom: 20px;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

.portfolio-link {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 500;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-link {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-link:hover {
  background-color: var(--light-color);
  color: var(--dark-color);
}

/* Portfolio Modal */
.portfolio-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
}

.modal-content {
  position: relative;
  background-color: var(--light-color);
  margin: 5% auto;
  width: 90%;
  max-width: 1000px;
  border-radius: 8px;
  overflow: hidden;
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
  z-index: 10;
}

.close-modal:hover {
  color: var(--dark-color);
}

.modal-body {
  display: flex;
  flex-direction: column;
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

.modal-details {
  padding: 30px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 15px;
}

.modal-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.modal-info {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--gray-color);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  min-height: 300px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
  visibility: hidden;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.testimonial-content {
  background-color: var(--light-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.3;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

.client-info h4 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.client-info p {
  color: var(--primary-color);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.control-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #555;
  cursor: pointer;
  padding: 10px;
  transition: var(--transition);
}

.control-btn:hover {
  color: var(--primary-color);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin: 0 15px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 8px;
  background-color: var(--gray-color);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-details p {
  color: #666;
  margin-bottom: 10px;
}

.contact-details a {
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form-container {
  background-color: var(--gray-color);
  padding: 30px;
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--light-color);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 80px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo h2 {
  font-family: var(--font-display);
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 15px;
}

.footer-logo p {
  color: #999;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.footer-links-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links-column ul li {
  margin-bottom: 10px;
}

.footer-links-column ul li a {
  color: #999;
  transition: var(--transition);
}

.footer-links-column ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-newsletter h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.newsletter-form {
  display: flex;
  margin-bottom: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 4px 0 0 4px;
  background-color: #222;
  color: var(--light-color);
}

.newsletter-form input::placeholder {
  color: #777;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-form button {
  border-radius: 0 4px 4px 0;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #222;
  color: var(--light-color);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.footer-bottom p {
  color: #777;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section-header h2 {
    font-size: 2.2rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-newsletter {
    grid-column: span 2;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

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

  .nav-list {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    transition: var(--transition);
  }

  .nav-list.active {
    left: 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 250px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links, .footer-newsletter {
    grid-column: span 1;
  }
  
  .modal-content {
    width: 95%;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }
}