/* Modern Cloudifys Design with Animations */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Smooth Animations */
* {
  transition: all 0.3s ease;
}

/* Modern Header */
.header_section {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.header_section.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.navbar-brand img {
  height: 50px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  position: relative;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Modern Hero Section */
.hero_area {
  min-height: 100vh;
  background: var(--gradient);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero_area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

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

.slider_section .detail-box {
  animation: slideInLeft 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Floating Elements Animation */
.hero-animation {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-elements {
  position: relative;
  width: 300px;
  height: 300px;
}

.float-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.element-1 {
  width: 120px;
  height: 120px;
  top: 0;
  left: 0;
  animation: floatElement1 6s ease-in-out infinite;
}

.element-2 {
  width: 80px;
  height: 80px;
  top: 50px;
  right: 0;
  animation: floatElement2 8s ease-in-out infinite;
}

.element-3 {
  width: 100px;
  height: 100px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: floatElement3 7s ease-in-out infinite;
}

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

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

@keyframes floatElement3 {
  0%, 100% { transform: translateX(-50%) translateY(0px) rotate(0deg); }
  50% { transform: translateX(-50%) translateY(-25px) rotate(360deg); }
}

/* Modern Carousel Indicators */
.modern-indicators {
  bottom: 30px;
}

.modern-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.modern-indicators li.active {
  background: var(--white);
  transform: scale(1.2);
}

.btn1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: var(--white);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn1:hover::before {
  left: 100%;
}

.btn1:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--primary-color);
}

.btn1 i {
  transition: transform 0.3s ease;
}

.btn1:hover i {
  transform: translateX(5px);
}

/* Modern Feature Cards */
.offer_section {
  padding: 100px 0;
  background: var(--bg-light);
}

.auto-scroll-wrapper {
  overflow: hidden;
  position: relative;
}

.auto-scroll-track {
  display: flex;
  gap: 30px;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.feature-card {
  min-width: 300px;
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

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

.feature-card .icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.feature-card:hover .icon {
  transform: scale(1.1) rotate(360deg);
}

.feature-card h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.order_online {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.order_online::after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.order_online:hover::after {
  transform: translateX(5px);
}

/* Modern About Section */
.about_section {
  padding: 100px 0;
}

.about_section .img-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.about_section .img-box img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about_section .img-box:hover img {
  transform: scale(1.05);
}

.about_section .detail-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about_section .detail-box p {
  /*color: var(--text-light);*/
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Modern Contact Form */
.book_section {
  padding: 100px 0;
  background: var(--bg-light);
}

.form_container {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form_container input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form_container input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn_box button {
  background: var(--gradient);
  color: var(--white);
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn_box button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Modern Footer */
.footer_section {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer_section h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}

.contact_link_box a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact_link_box a:hover {
  color: var(--white);
}

.contact_link_box i {
  margin-right: 10px;
  width: 20px;
}

.footer_social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer_social a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .feature-card {
    min-width: 280px;
  }
  
  .about_section .detail-box h2 {
    font-size: 2rem;
  }

  .floating-elements {
    width: 200px;
    height: 200px;
  }

  .element-1 {
    width: 80px;
    height: 80px;
  }

  .element-2 {
    width: 60px;
    height: 60px;
  }

  .element-3 {
    width: 70px;
    height: 70px;
  }
}

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

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

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient);
  z-index: 9999;
  transition: width 0.3s ease;
}
