/* Rase Tekstil Website - Main Stylesheet */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

/* CSS Variables for Colors */
:root {
  --primary-color: #2C2C2C;
  --secondary-color: #F0EDE5;
  --text-color: #333333;
  --background-color: #FFFFFF;
  --light-gray: #F5F5F5;
  --border-color: #E0E0E0;
  --accent-black: #000000;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

h2 {
  font-size: 2rem;
  font-weight: 500;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--background-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: all 0.3s ease;
}

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

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Main Content */
.main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #FFFFFF 100%);
  padding: 8rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--text-color);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .tagline {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::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 ease;
  z-index: -1;
}

.btn:hover {
  background-color: var(--accent-black);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 44, 44, 0.3);
}

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

.btn:active {
  transform: translateY(0);
}

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

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

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

/* Client Logos */
.clients {
  background-color: var(--light-gray);
  padding: 3rem 0;
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.client-logo {
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.client-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(44, 44, 44, 0.1) 0%, transparent 70%);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.client-logo:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.client-logo:hover::after {
  width: 200%;
  height: 200%;
}

/* Grid Layout */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

/* Cards */
.card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Values List Styling */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.value-icon {
  font-size: 2.5rem;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-black));
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: white;
  box-shadow: 0 4px 12px rgba(44, 44, 44, 0.3);
}

.value-content h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.value-content p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-color);
}

/* Contact Items */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.contact-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-black));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(44, 44, 44, 0.3);
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #666;
  margin: 0 0 0.5rem 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-details a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary-color);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

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

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

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.footer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .nav ul.active {
    display: flex;
  }
  
  .nav ul li {
    margin: 0.5rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .client-logos {
    gap: 1.5rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .logo img {
    height: 32px;
    max-width: 120px;
  }
  
  .value-item {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .value-icon {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .value-content h4 {
    font-size: 1.2rem;
  }
  
  .contact-item {
    padding: 1rem;
    gap: 0.8rem;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .contact-details h4 {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  .hero .tagline {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .value-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .value-icon {
    align-self: center;
  }
  
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .client-logo {
    padding: 0.3rem;
    min-width: 0;
    width: 40vw;
    max-width: 120px;
    height: 60px;
  }
  .client-logos {
    gap: 0.2rem;
  }
}

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

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Apply entrance animations */
.hero h1 {
  animation: fadeInUp 0.8s ease-out;
}

.hero .tagline {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .btn {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.card {
  animation: fadeInUp 0.6s ease-out both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

.client-logo {
  animation: fadeInUp 0.6s ease-out both;
}

.client-logo:nth-child(1) { animation-delay: 0.1s; }
.client-logo:nth-child(2) { animation-delay: 0.2s; }
.client-logo:nth-child(3) { animation-delay: 0.3s; }
.client-logo:nth-child(4) { animation-delay: 0.4s; }
.client-logo:nth-child(5) { animation-delay: 0.5s; }
.client-logo:nth-child(6) { animation-delay: 0.6s; }
.client-logo:nth-child(7) { animation-delay: 0.7s; }
.client-logo:nth-child(8) { animation-delay: 0.8s; }

.section-title {
  animation: fadeInUp 0.8s ease-out;
}

 