/* style.css */

/* Root Variables */
:root {
  --color-primary: #ff0066;
  --color-accent: #00e6e6;
  --color-highlight: #ffd700;
  --color-dark: #111111;
  --color-light: #ffffff;
  --color-muted: #f4f4f4;
  --text-heading: 'Montserrat', sans-serif;
  --text-body: 'Merriweather', serif;
  --btn-radius: 4px;
  --transition-fast: all 0.3s ease-in-out;
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

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

body {
  font-family: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--color-light);
  color: var(--color-dark);
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--text-heading);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

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

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn, button, input[type='submit'] {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-light);
  border: none;
  border-radius: var(--btn-radius);
  font-family: var(--text-heading);
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  transition: var(--transition-fast);
  letter-spacing: 0.05em;
}

.btn:hover, button:hover, input[type='submit']:hover {
  background-color: #cc0052;
}

/* Cards and Flex Centering */
.card, .item, .testimonial, .team-member, .product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-light);
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.04);
  transition: var(--transition-fast);
  text-align: center;
}

.card:hover, .item:hover {
  transform: translateY(-4px);
  box-shadow: 4px 6px 20px rgba(0,0,0,0.1);
}

.card-image, .image-container {
  height: 300px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img, .image-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  margin: 0 auto;
  display: block;
}

/* Gallery */
.gallery img {
  transition: transform 0.3s ease-in-out;
  object-fit: cover;
}

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

/* Navigation */
header {
  background-color: var(--color-highlight);
}

header a {
  font-family: var(--text-heading);
  color: var(--color-dark);
  transition: var(--transition-fast);
}

header a:hover {
  text-decoration: underline;
}

/* Responsive Burger */
#mobile-menu a {
  color: var(--color-dark);
}

/* Read More Links */
.read-more {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: var(--transition-fast);
}

.read-more:hover {
  color: #cc0052;
}

/* Animations - Morphing */
@keyframes morph {
  0% {
    border-radius: 50% 50% 45% 55% / 60% 40% 60% 40%;
  }
  50% {
    border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  }
  100% {
    border-radius: 50% 50% 45% 55% / 60% 40% 60% 40%;
  }
}

.morph {
  animation: morph 8s ease-in-out infinite;
}

/* Contact */
form input,
form textarea {
  border: 1px solid #ccc;
  border-radius: var(--btn-radius);
  padding: 0.75rem;
  font-family: var(--text-body);
  transition: border-color 0.2s ease;
  width: 100%;
}

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

/* Footer */
footer {
  background: var(--color-dark);
  color: var(--color-light);
  font-size: 0.9rem;
}

footer a {
  color: var(--color-light);
  text-decoration: underline;
  margin-left: 0.75rem;
}

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

footer .socials a {
  font-weight: 600;
  margin-left: 1rem;
  color: var(--color-light);
  text-transform: uppercase;
}

footer .socials a:hover {
  color: var(--color-highlight);
}

/* Success Page */
.success-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Terms / Privacy Margin Top Fix */
.legal-content {
  padding-top: 100px;
}

/* Background Utilities */
.bg-cover {
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-overlay-dark {
  background: var(--gradient-overlay);
}

/* Utility */
.section {
  padding: 4rem 1rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: var(--text-heading);
  color: var(--color-dark);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Glassmorphism Effect */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

/* Parallax placeholder (to be controlled by JS or background-attachment fixed if applicable) */
.parallax {
  background-attachment: fixed;
}

/* Adaptive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .section {
    padding: 2rem 1.5rem;
  }
}

/* Column Widths */
.two-thirds {
  width: 66.6667%;
  margin: 0 auto;
}

/* Hover Motion for Interactive Elements */
.transition-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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