/*
Theme Name:  GreatShape
Theme URI:   https://example.com/greatshape/
Description: Custom theme for Great Shape EMS Studio
Author:      GreatShape
Version:     1.0.0
Text Domain: greatshape
*/

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
  --turquoise: #00ffda;
  --dark: #0d0d0d;
  --darker: #0a0a0a;
  --white: #ffffff;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

*, *::before, *::after { box-sizing: inherit; }

.font-anton { font-family: 'Anton', sans-serif; }
.turq { color: var(--turquoise); }
.bg-turq { background-color: var(--turquoise); }

/* NAV */
.gs-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.gs-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 4rem;
}
.gs-logo img { 
  margin-top: 14px;
  height: 50px;
 }
.gs-nav-links { 
  display: flex; 
  align-items: center; 
  gap: 2rem; 
  height: 100%;
}
.gs-nav-links a {
  position: relative;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
  text-align: center;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gs-nav-links .gs-nav-link-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--turquoise);
  transition: width 0.3s;
}
.gs-nav-links a:hover { 
  color: var(--turquoise); 
}
.gs-nav-link-text {
  position: relative;
}
.gs-nav-links a:hover .gs-nav-link-text::after { width: 100%; }
.gs-burger { display: none; background: none; border: none; color: white; cursor: pointer; }

/* MOBILE MENU */
.gs-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 40;
}
.gs-mobile-overlay.open { opacity: 1; pointer-events: auto; }
.gs-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: #000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5rem;
}
.gs-mobile-menu.open { transform: translateX(0); }
.gs-mobile-menu a {
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  padding: 1rem 1rem;
  text-align: center;
}
.gs-mobile-menu a:hover { color: var(--turquoise); }
.gs-close-btn { position: absolute; top: 1.25rem; right: 1.5rem; background: none; border: none; color: white; cursor: pointer; }


/* FOOTER */
.gs-footer {
  background: var(--darker);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: auto;
}
.gs-footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 64px;
}
.gs-footer-image img {
  height: 50px;
  margin-top: 14px;
}
.gs-footer p { color: rgba(255,255,255,0.3); font-size: 0.875rem; margin: 0; }


/* GRIDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-auto-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-d1 { animation-delay: 0.1s; opacity:0; }
.fade-up-d2 { animation-delay: 0.2s; opacity:0; }
.fade-up-d3 { animation-delay: 0.3s; opacity:0; }
.fade-up-d4 { animation-delay: 0.4s; opacity:0; }
.fade-up-d5 { animation-delay: 0.5s; opacity:0; }
.fade-up-d6 { animation-delay: 0.6s; opacity:0; }
.fade-up-d7 { animation-delay: 0.7s; opacity:0; }
.fade-up-d8 { animation-delay: 0.8s; opacity:0; }
.fade-up-d9 { animation-delay: 0.9s; opacity:0; }
.fade-up-d10 { animation-delay: 1s; opacity:0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .gs-nav-links { display: none; }
  .gs-burger { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .contra-grid { grid-template-columns: 1fr; }
  .gs-footer-inner { text-align: center; }
}
@media (min-width: 769px) {
  .gs-footer-inner { flex-direction: row; }
}