/*!
 * Theme Name: Visio Aquilae
 * Theme URI: https://www.visioaquilae.com
 * Author: Visio Aquilae
 * Author URI: https://www.visioaquilae.com
 * Description: A minimalistic and modern photography theme for Visio Aquilae
 * Version: 1.0.0
 * License: GPL v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: visio-aquilae
 * Domain Path: /languages
 */

/* ==========================================
   TYPOGRAPHY & FONTS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Jacques+Francois&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #000000;
  --primary-white: #ffffff;
  --accent-gray: #333333;
  --light-gray: #666666;
  --bg-dark: #0a0a0a;
  --text-light: #f5f5f5;
  --accent-color: #e0e0e0;
}

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--primary-black);
  color: var(--primary-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Jacques Francois', serif;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
  background-color: var(--primary-black);
  padding: 2rem 0;
  border-bottom: 1px solid var(--accent-gray);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  max-height: 60px;
  width: auto;
}

.site-title {
  font-family: 'Jacques Francois', serif;
  font-size: 2rem;
  letter-spacing: 2px;
  font-weight: normal;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-size: 0.95rem;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-white);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('about:blank') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--primary-white);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.hero-content p {
  font-size: 1.5rem;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.container {
  width: 100%;
  margin: 0 auto;
}

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */
.portfolio-section {
  margin-bottom: 6rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 2px;
}

.portfolio-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-group {
  border: 1px solid var(--accent-gray);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--accent-gray);
}

.portfolio-group:hover {
  border-color: var(--primary-white);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.portfolio-group-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.portfolio-group-info {
  padding: 1.5rem;
  background-color: var(--accent-gray);
}

.portfolio-group-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.portfolio-group-date {
  font-size: 0.9rem;
  color: var(--light-gray);
}

.portfolio-group-count {
  font-size: 0.85rem;
  color: var(--accent-color);
  margin-top: 0.5rem;
}

/* ==========================================
   GALLERY MODAL
   ========================================== */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow-y: auto;
}

.gallery-modal.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.gallery-close {
  position: absolute;
  right: 2rem;
  top: 2rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary-white);
  z-index: 10;
}

.gallery-container {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.gallery-image {
  max-height: 70vh;
  width: auto;
  margin-bottom: 1.5rem;
}

.gallery-info {
  text-align: center;
  max-width: 600px;
}

.gallery-info h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.gallery-info p {
  font-size: 0.95rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.gallery-nav {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.gallery-nav button {
  background-color: var(--accent-gray);
  color: var(--primary-white);
  border: 1px solid var(--primary-white);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-nav button:hover {
  background-color: var(--primary-white);
  color: var(--primary-black);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
  margin-bottom: 6rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  border-left: 3px solid var(--primary-white);
  padding: 2rem;
  background-color: var(--accent-gray);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background-color: var(--light-gray);
  border-left-color: var(--accent-color);
}

.testimonial-text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  font-family: 'Jacques Francois', serif;
  font-size: 1rem;
}

.testimonial-author a {
  color: var(--accent-color);
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-section {
  margin-bottom: 6rem;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: var(--accent-gray);
  border: 1px solid var(--light-gray);
  color: var(--primary-white);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background-color: var(--primary-white);
  color: var(--primary-black);
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--accent-color);
}

/* ==========================================
   RATES SECTION
   ========================================== */
.rates-section {
  margin-bottom: 6rem;
  text-align: center;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.rate-card {
  border: 1px solid var(--primary-white);
  padding: 2rem;
  background-color: var(--accent-gray);
  transition: all 0.3s ease;
}

.rate-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.rate-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.rate-price {
  font-family: 'Jacques Francois', serif;
  font-size: 2rem;
  margin: 1rem 0;
  color: var(--accent-color);
}

.rate-description {
  font-size: 0.85rem;
  color: var(--light-gray);
  line-height: 1.6;
}

/* ==========================================
   SOCIAL MEDIA SECTION
   ========================================== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.social-links a {
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background-color: var(--accent-gray);
  border-top: 1px solid #444;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: var(--light-gray);
  font-size: 0.85rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .portfolio-groups {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .rates-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    max-height: 50vh;
  }
}

@media (max-width: 480px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .site-title {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  main {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
