/* ===================================
   ITStageRent.ink - Unique Design 2025
   Noleggio Location Cinematografiche
   =================================== */

/* Импорт уникальных шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Montserrat:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@300;400;600&display=swap');

/* CSS Variables для легкой кастомизации */
:root {
  --primary-color: #FF6B35;
  --secondary-color: #F7931E;
  --accent-color: #FDC830;
  --dark-bg: #1A1A2E;
  --light-bg: #F5F5F7;
  --text-dark: #2C2C3E;
  --text-light: #FFFFFF;
  --gradient-sunset: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FDC830 100%);
  --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #2C2C3E 100%);
  --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-hard: 0 30px 80px rgba(0, 0, 0, 0.25);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 20px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark-bg);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  opacity: 0.9;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(26, 26, 46, 0.98);
  box-shadow: var(--shadow-medium);
}

.header.scrolled .nav-link {
  color: var(--text-light);
}

.header.scrolled .nav-link:hover {
  color: var(--accent-color);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
  width: auto;
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-sunset);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

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

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--dark-bg);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.header.scrolled .menu-toggle span {
  background: var(--text-light);
}

/* Hero Section - Большой и впечатляющий */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-purple);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-location.svg') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-title {
  color: var(--text-light);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  animation: fadeInUp 1.2s ease-out;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  animation: fadeInUp 1.4s ease-out;
}

.hero-image {
  animation: fadeInRight 1.5s ease-out;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hard);
  transition: var(--transition-smooth);
}

.hero-image img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Animated Background Elements */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  top: 10%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: var(--accent-color);
  border-radius: 50%;
  animation-delay: 0s;
}

.shape-2 {
  top: 60%;
  right: 15%;
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-delay: 3s;
}

.shape-3 {
  bottom: 10%;
  left: 20%;
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  border-radius: 20px;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-sunset);
  color: var(--text-light);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

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

.btn-secondary:hover {
  background: var(--text-light);
  color: var(--dark-bg);
  transform: translateY(-3px);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 1.6s ease-out;
}

/* Section Styles */
.section {
  padding: 6rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-sunset);
  border-radius: 3px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 4rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}

/* Location Cards Grid */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.location-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
}

.location-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hard);
}

.location-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.location-card:hover .location-image {
  transform: scale(1.1);
}

.location-content {
  padding: 2rem;
}

.location-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

.location-description {
  font-size: 1rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.location-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  padding: 0.5rem 1rem;
  background: var(--gradient-sunset);
  color: var(--text-light);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  border: 3px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  padding: 1.5rem;
  background: var(--gradient-sunset);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1rem;
  opacity: 0.8;
}

/* Contact Form - Необычная форма */
.contact-section {
  background: var(--gradient-dark);
  color: var(--text-light);
  border-radius: var(--border-radius);
  padding: 5rem 3rem;
  margin: 4rem auto;
  max-width: 1200px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: var(--transition-smooth);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-sunset);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.form-unique {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--accent-color);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(253, 200, 48, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--dark-bg);
  color: var(--text-light);
}

.btn-submit {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: var(--gradient-sunset);
  color: var(--text-light);
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

/* Portfolio Gallery */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  height: 400px;
}

.portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hard);
}

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

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

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 2rem;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

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

.portfolio-overlay h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 4rem 3rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: var(--text-light);
}

.social-link:hover {
  background: var(--gradient-sunset);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .nav-container {
    padding: 1rem 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--dark-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    gap: 2rem;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    color: var(--text-light);
    font-size: 1.5rem;
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
  
  .hero {
    padding-top: 70px;
  }
  
  .hero-content {
    padding: 2rem 1.5rem;
  }
  
  .locations-grid,
  .services-grid,
  .portfolio-gallery {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .nav-container {
    padding: 1rem;
  }
  
  .logo {
    height: 40px;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .contact-section {
    padding: 3rem 1.5rem;
  }
  
  .form-unique {
    padding: 2rem 1.5rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

.hidden {
  display: none;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-light);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
