/* =========================================
   Ezy Epoxy - Premium Stylesheet
   ========================================= */
:root {
  --primary: #1148ad;
  --secondary: #32c3c7;
  --accent: #e0ffff;
  --dark: #0a192f;
  --light: #f8f9fa;
  --text: #333333;
  --text-light: #6c757d;
  --white: #ffffff;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  background-color: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn:hover::before { opacity: 1; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--white);
  position: relative;
  padding: 5px 0;
}

.navbar.scrolled .nav-links a { color: var(--dark); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span { background: var(--dark); }

.nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================
   Hero & Slider
   ========================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--dark);
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(17,72,173,0.8) 0%, rgba(50,195,199,0.6) 100%);
  z-index: 1;
}

.slide.active { opacity: 1; z-index: 2; }

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
  text-align: center;
}

.slide-content h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.3s;
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.5s;
}

.slide-content .btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.7s;
}

.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-content .btn-group {
  opacity: 1;
  transform: translateY(0);
}

.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.slider-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--white);
  color: var(--primary);
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* =========================================
   Sections & Cards
   ========================================= */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 30px;
  color: var(--white);
}

/* =========================================
   Grids
   ========================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* =========================================
   Products
   ========================================= */
.product-card {
  text-align: center;
  position: relative;
}

.product-card .img-wrapper {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.product-card .img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .img-wrapper img {
  transform: scale(1.1);
}

.product-card h3 { margin-bottom: 10px; }
.product-card p { color: var(--text-light); margin-bottom: 20px; }

/* =========================================
   Gallery
   ========================================= */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: var(--light);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--gradient);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  grid-auto-rows: 300px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-item .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(17, 72, 173, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: var(--white); font-size: 1.5rem; }

/* =========================================
   Testimonials
   ========================================= */
.testimonial-card {
  text-align: center;
  padding: 40px 30px;
}

.testimonial-card .avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--secondary);
}

.testimonial-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card .stars { color: #ffc107; margin-bottom: 15px; font-size: 1.2rem; }
.testimonial-card p { font-style: italic; color: var(--text-light); margin-bottom: 20px; }
.testimonial-card h4 { margin-bottom: 5px; }
.testimonial-card span { color: var(--text-light); font-size: 0.9rem; }

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--gradient);
  opacity: 0.1;
}

.footer .container { position: relative; z-index: 2; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--secondary);
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }

.footer-contact p { margin-bottom: 10px; color: rgba(255,255,255,0.7); }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--secondary); }

.newsletter-form {
  display: flex;
  margin-top: 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 5px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 15px;
  color: var(--white);
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-form button {
  background: var(--gradient);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* =========================================
   Page Header (Inner Pages)
   ========================================= */
.page-header {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://picsum.photos/1920/1080?random=99') center/cover;
  opacity: 0.2;
}

.page-header h1 {
  font-size: 3.5rem;
  color: var(--white);
  position: relative;
  z-index: 2;
}

/* =========================================
   Contact Form
   ========================================= */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-control {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--light);
}
.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(50,195,199,0.2);
}
textarea.form-control { min-height: 150px; resize: vertical; }

/* =========================================
   Scroll to Top
   ========================================= */
.scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-5px); }