/* 
  aimadeporn.pw - Styles
  Unique diagonal/asymmetric design with burgundy and amber color scheme
*/

:root {
  --primary: #800020;       /* Burgundy */
  --secondary: #FFBF00;     /* Amber */
  --dark: #4A0012;          /* Dark Burgundy */
  --light: #FFFFFF;
  --background: #F8F8F8;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 10px 20px rgba(74, 0, 18, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: 'Exo 2', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
  position: relative;
}

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

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--secondary);
}

section {
  padding: 80px 0;
  position: relative;
}

section p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

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

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}

.accent {
  color: var(--primary);
}

/* Diagonal background and dividers */
.diagonal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,248,248,0.9) 100%);
  z-index: -2;
}

.diagonal-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, var(--primary), var(--primary) 2px, transparent 2px, transparent 20px);
  opacity: 0.02;
  z-index: -1;
}

.diagonal-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--light);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.diagonal-divider.reverse {
  top: 0;
  bottom: auto;
  background: var(--background);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.slant-container {
  position: relative;
  z-index: 2;
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-svg {
  height: 50px;
}

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

/* Diamond Navigation */
.diamond-nav {
  position: relative;
}

.nav-items {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-items li a {
  display: inline-block;
  padding: 8px 15px;
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

.nav-items li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-items li a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-items li a.cta-link {
  padding: 8px 20px;
  background: var(--primary);
  color: var(--light);
  border-radius: 0;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.nav-items li a.cta-link:hover {
  background: var(--dark);
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--primary);
  position: absolute;
  transition: var(--transition);
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before,
.hamburger::after {
  content: '';
  left: 0;
}

.hamburger::before {
  top: -10px;
}

.hamburger::after {
  top: 10px;
}

.menu-toggle.active .hamburger {
  background: transparent;
}

.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  background-color: var(--light);
  padding: 100px 0 120px;
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
}

.cta-button {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%);
}

.cta-button.primary {
  background: var(--primary);
  color: var(--light) !important;
  box-shadow: var(--shadow);
}

.cta-button.secondary {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.cta-button.primary:hover {
  background: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(128, 0, 32, 0.2);
}

.cta-button.secondary:hover {
  border-color: var(--dark);
  transform: translateY(-3px);
}

.cta-button.large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

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

.hero-svg {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(128, 0, 32, 0.1));
}

/* Gallery Section */
.gallery {
  background-color: var(--background);
  text-align: center;
  padding: 100px 0;
  position: relative;
}

.diamond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 30px;
  margin: 40px auto;
  max-width: 900px;
}

.diamond-item {
  aspect-ratio: 1;
  position: relative;
  transform: rotate(45deg);
  overflow: hidden;
  background: var(--light);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.diamond-item.large {
  grid-column: span 1;
  grid-row: span 1;
}

.diamond-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-45deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(128, 0, 32, 0.8) 0%, rgba(255, 191, 0, 0.8) 100%);
  color: var(--light);
}

.diamond-item:nth-child(even) .diamond-content {
  background: linear-gradient(135deg, rgba(255, 191, 0, 0.8) 0%, rgba(128, 0, 32, 0.8) 100%);
}

.diamond-content h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: var(--light);
}

.diamond-cta {
  margin-top: 10px;
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--light);
  border-radius: 20px;
  font-weight: 600;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.diamond-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  color: var(--light);
}

.diamond-item:hover {
  transform: rotate(45deg) scale(1.05);
  box-shadow: 0 15px 30px rgba(128, 0, 32, 0.15);
  z-index: 2;
}

/* Features Section */
.features {
  background-color: var(--light);
  text-align: center;
  padding: 80px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  padding: 30px;
  background: var(--background);
  box-shadow: var(--shadow);
  transition: var(--transition);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(128, 0, 32, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* FAQ Section */
.faq {
  background-color: var(--background);
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.accordion {
  max-width: 800px;
  margin: 40px auto 0;
}

.accordion-item {
  margin-bottom: 15px;
  background: var(--light);
  box-shadow: var(--shadow);
  overflow: hidden;
  clip-path: polygon(1% 0, 100% 0, 99% 100%, 0% 100%);
}

.accordion-header {
  padding: 20px 30px;
  cursor: pointer;
  position: relative;
  font-size: 1.2rem;
  transition: var(--transition);
  color: var(--primary);
  text-align: left;
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.accordion-item.active .accordion-header::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-content p {
  padding: 0 30px 20px;
  text-align: left;
}

/* CTA Banner */
.cta-banner {
  background-color: var(--primary);
  color: var(--light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, var(--dark), var(--dark) 10px, transparent 10px, transparent 20px);
  opacity: 0.1;
}

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

.cta-banner h2 {
  margin-bottom: 20px;
  color: var(--light);
}

.cta-banner .accent {
  color: var(--secondary);
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo p {
  margin-top: 15px;
  opacity: 0.8;
  max-width: 300px;
  text-align: left;
}

.footer-links h4 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--secondary);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

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

.footer-links ul li a:hover {
  color: var(--secondary);
}

.footer-favicon {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.footer-favicon img {
  opacity: 0.9;
  transition: var(--transition);
}

.footer-favicon img:hover {
  opacity: 1;
  transform: scale(1.1) rotate(10deg);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-logo {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-items {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-items.active {
    right: 0;
  }
  
  .nav-items li {
    margin: 15px 0;
  }
  
  .diamond-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .diamond-item.large {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-button {
    width: 100%;
  }
  
  .diamond-grid {
    grid-template-columns: 1fr;
  }
  
  .diamond-item.large {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-logo {
    grid-column: span 1;
    text-align: center;
  }
  
  .footer-logo p {
    margin: 15px auto;
    text-align: center;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links {
    text-align: center;
  }
}
