/* * StudioZentrum - Modern Web Design Agency
* Main Stylesheet */

/* ===== BASE STYLES ===== */

:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --text-color: #333333;
  --light-text: #ffffff;
  --dark-bg: #1a1a1a;
  --light-bg: #f5f5f5;
  --gray-bg: #f0f0f0;
  --border-color: #e0e0e0;
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Montserrat', sans-serif;
  --container-width: 1200px;
  --section-padding: 100px 0;
  --element-padding: 15px;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 20px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

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

.section-subheading {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: -15px;
}

/* Language Toggle */

.text-sr {
  display: none;
}

body.serbian .text-en {
  display: none;
}

body.serbian .text-sr {
  display: inline-block;
}

/* For block elements */

body.serbian p.text-en, body.serbian div.text-en, body.serbian h1.text-en, body.serbian h2.text-en, body.serbian h3.text-en {
  display: none;
}

body.serbian p.text-sr, body.serbian div.text-sr, body.serbian h1.text-sr, body.serbian h2.text-sr, body.serbian h3.text-sr {
  display: block;
}

/* ===== HEADER & NAVIGATION ===== */

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background-color: transparent;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

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

.logo a {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 1px;
}

/* Two-colored logo styling */

.logo-studio {
  color: var(--light-text);
}

.logo-zentrum {
  color: var(--primary-color);
}

header.scrolled .logo-studio {
  color: var(--secondary-color);
}

header.scrolled .logo-zentrum {
  color: var(--primary-color);
}

nav .menu {
  display: flex;
}

nav .menu li {
  margin: 0 15px;
}

nav .menu li a {
  color: var(--light-text);
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
}

header.scrolled nav .menu li a {
  color: var(--secondary-color);
}

nav .menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav .menu li a:hover::after, nav .menu li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  color: var(--light-text);
  font-size: 24px;
  cursor: pointer;
}

header.scrolled .menu-toggle {
  color: var(--secondary-color);
}

/* Language Toggle Switch */

.language-toggle {
  margin-left: 30px;
}

.toggle-switch {
  display: flex;
  align-items: center;
  color: var(--light-text);
}

header.scrolled .toggle-switch {
  color: var(--secondary-color);
}

.toggle-switch span {
  font-size: 14px;
  font-weight: 600;
  margin: 0 5px;
}

.toggle-switch span.active {
  color: var(--primary-color);
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.3);
  transition: .4s;
}

header.scrolled .slider {
  background-color: #ccc;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 20px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ===== HERO SECTION WITH PARALLAX ===== */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--light-text);
  overflow: hidden;
  padding-top: 70px;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  will-change: transform;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 20px;
  color: var(--light-text);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.3s;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.6s;
}

.hero .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.9s;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1s forwards 1.2s;
}

.scroll-indicator span {
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-indicator i {
  font-size: 20px;
  animation: bounce 2s infinite;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ===== ABOUT SECTION ===== */

.about {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== SERVICES SECTION ===== */

.services {
  padding: var(--section-padding);
}

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

.service-card {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.service-icon {
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 40px;
  color: var(--primary-color);
}

.service-card h3 {
  margin-bottom: 15px;
}

/* ===== PORTFOLIO SECTION ===== */

.portfolio {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

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

.portfolio-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 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-info {
  text-align: center;
  color: var(--light-text);
  padding: 20px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-info h3 {
  color: var(--light-text);
  margin-bottom: 10px;
}

.portfolio-info p {
  font-size: 14px;
  margin: 0;
}

/* ===== TESTIMONIALS SECTION ===== */

.testimonials {
  padding: var(--section-padding);
}

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

.testimonial-item {
  padding: 30px;
}

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

.testimonial-content::before {
  content: '\201C';
  font-family: Georgia, serif;
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 80px;
  color: rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.testimonial-author p {
  color: var(--primary-color);
  font-size: 14px;
  margin: 0;
}

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

.prev-btn, .next-btn {
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--secondary-color);
}

/* ===== CONTACT SECTION ===== */

.contact {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info, .contact-form {
  flex: 1;
}

.contact-item {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-item i {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-item p {
  margin: 0;
  text-align: center;
}

/* Fixed form labels to work with language toggle */

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

.form-group .form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: var(--body-font);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
}

/* Social Links */

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* ===== FOOTER ===== */

footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 80px 0 30px;
}

/* Improved footer organization */

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 40px;
}

/* Left section with logo and social */

.footer-left {
  flex: 1;
}

.footer-logo a {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 1px;
}

/* Footer logo color */

.footer-logo .logo-studio {
  color: var(--light-text);
}

.footer-logo .logo-zentrum {
  color: var(--primary-color);
}

.footer-logo p {
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-left .social-links {
  justify-content: flex-start;
  margin-top: 0;
}

/* Navigation section */

.footer-nav {
  flex: 1;
}

.footer-nav h4, .footer-contact h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--light-text);
}

.footer-links {
  display: flex;
  flex-direction: column;
}

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

.footer-links a {
  color: var(--light-text);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* Contact section in footer */

.footer-contact {
  flex: 1;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 14px;
}

/* ===== RESPONSIVE STYLES ===== */

@media (max-width: 992px) {
  :root {
    --section-padding: 80px 0;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column-reverse;
  }
}

@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  nav .menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    flex-direction: column;
    background-color: var(--light-text);
    padding: 40px 20px;
    transition: all 0.4s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 768px) {
  nav .menu.active {
    left: 0;
  }
}

@media (max-width: 768px) {
  nav .menu li {
    margin: 15px 0;
  }
}

@media (max-width: 768px) {
  nav .menu li a {
    color: var(--secondary-color);
    font-size: 18px;
    display: block;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-left .social-links {
    justify-content: center;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .footer-contact p {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  :root {
    --section-padding: 50px 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero .subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .service-card {
    padding: 30px 20px;
  }
}

