/* 
* livvydunneaiporn.love - Main Stylesheet
* Unique teal and gold color theme with hexagon-based design
*/

/* CSS Reset and Base Styles */
:root {
  --primary-teal: #00BCD4;
  --teal-light: #B2EBF2;
  --teal-dark: #0097A7;
  --primary-gold: #FFC107;
  --gold-light: #FFE082;
  --gold-dark: #FFA000;
  --text-dark: #263238;
  --text-light: #78909C;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --dark-bg: #37474F;
  --header-height: 70px;
  --shadow: 0 5px 20px rgba(0,0,0,0.1);
  --transition: all 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: var(--primary-teal);
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

h2 span {
  color: var(--primary-teal);
  position: relative;
  z-index: 1;
}

h2 span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  background-color: var(--gold-light);
  bottom: 0;
  left: 0;
  z-index: -1;
  opacity: 0.5;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Header Styles - Unique from previous sites */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

.logo h1 {
  font-size: 1.5rem;
  margin-left: 10px;
  margin-bottom: 0;
  color: var(--primary-teal);
  font-weight: 700;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, var(--primary-teal), var(--primary-gold));
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--primary-teal);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section - Hexagonal Layout */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  padding-right: 3rem;
}

.hero-content h2 {
  font-size: 3rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  max-width: 100%;
  height: auto;
}

/* CTA Button Styles - Unique from previous sites */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-gold));
  color: var(--white);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 188, 212, 0.3);
  color: var(--white);
}

.secondary-button {
  display: inline-block;
  background: transparent;
  color: var(--primary-teal);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--primary-teal);
  transition: var(--transition);
}

.secondary-button:hover {
  background-color: var(--primary-teal);
  color: var(--white);
  transform: translateY(-3px);
}

/* Gallery Section - Hexagon Grid */
.gallery {
  background-color: var(--light-bg);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 1.5rem;
  text-align: center;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 188, 212, 0.2);
}

.gallery-svg {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.gallery-item h3 {
  color: var(--primary-teal);
  margin: 1rem 0 0.5rem;
}

.gallery-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
}

.gallery-cta p {
  margin-bottom: 1.5rem;
}

/* Technology Section - Unique Layout */
.technology {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(0, 188, 212, 0.05) 100%);
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tech-feature {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background-color: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.tech-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

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

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.testimonial {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 2rem;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial:before {
  content: """;
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-gold);
  opacity: 0.2;
  font-family: serif;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  font-style: italic;
}

.testimonial-author {
  margin-top: 1.5rem;
}

.author-name {
  font-weight: 600;
  color: var(--primary-teal);
  margin-bottom: 0;
}

.author-title {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--gold-dark) 100%);
  color: var(--white);
  text-align: center;
}

.cta h2, 
.cta h2 span {
  color: var(--white);
}

.cta h2 span::after {
  background-color: rgba(255, 255, 255, 0.2);
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

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

.feature svg {
  margin-right: 0.5rem;
}

.feature span {
  font-weight: 600;
}

/* Button Animation */
.shine {
  position: relative;
  overflow: hidden;
}

.shine:after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: 0.6s;
}

.shine:hover:after {
  transform: rotate(30deg) translate(-30%, -30%);
}

.glow {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.8), 0 0 30px rgba(255, 193, 7, 0.5);
  }
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info {
  flex: 2;
  min-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo h3 {
  margin-left: 1rem;
  margin-bottom: 0;
  color: var(--white);
}

.footer-links {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 150px;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--primary-gold);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
  color: var(--primary-teal);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
    text-align: center;
  }
  
  .hero-content h2 {
    text-align: center;
    font-size: 2.2rem;
  }
  
  nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 1rem 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .testimonial-slider {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + 2rem);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
