/* 
* JONC9911.COM - Modern CSS Stylesheet
* Custom design with optimized SEO and mobile responsiveness
* Version: 1.0.0
* Last Updated: 2025-08-26
*/

/* ===== VARIABLES ===== */
:root {
  /* Primary Colors - Blue Gradient Theme */
  --primary-color: #0062cc;
  --secondary-color: #00a4d6;
  --accent-color: #ff6600;
  --accent-light: #ffcc00;
  
  /* Neutral Colors */
  --text-dark: #1a2b47;
  --text-medium: #4a5b78;
  --text-light: #8294ac;
  --bg-light: #f7f9fc;
  --bg-white: #ffffff;
  --bg-dark: #0d1c33;
  
  /* Shadows and Effects */
  --card-shadow: 0 10px 30px rgba(0, 98, 204, 0.1);
  --hover-shadow: 0 15px 35px rgba(0, 98, 204, 0.2);
  --button-shadow: 0 5px 15px rgba(0, 98, 204, 0.25);
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Lato', sans-serif;
  --h1-size: 3.5rem;
  --h2-size: 2.5rem;
  --h3-size: 1.75rem;
  --h4-size: 1.35rem;
  --body-size: 1.1rem;
  --small-size: 0.9rem;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Animations */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: var(--h1-size);
  letter-spacing: -0.5px;
}

h2 {
  font-size: var(--h2-size);
  letter-spacing: -0.3px;
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

p {
  font-size: var(--body-size);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--accent-light);
  bottom: -5px;
  left: 0;
  border-radius: var(--border-radius);
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-white);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--button-shadow);
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
  transition: all 0.5s;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 98, 204, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.btn-outline:hover {
  color: var(--bg-white);
  border-color: transparent;
}

.btn i {
  margin-right: 0.5rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  background-color: transparent;
  transition: all var(--transition-medium);
}

.header.scrolled {
  background-color: var(--bg-white);
  padding: 0.75rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

.logo img {
  height: 40px;
  width: 40px;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 0.75rem;
  letter-spacing: -0.5px;
}

.header.scrolled .logo-text {
  color: var(--text-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin: 0 1.25rem;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-white);
  position: relative;
}

.header.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent-color), var(--accent-light));
  transition: width var(--transition-medium);
  border-radius: var(--border-radius);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-light);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--accent-color);
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  z-index: 2;
  font-size: 1.5rem;
  color: var(--bg-white);
}

.header.scrolled .mobile-toggle {
  color: var(--text-dark);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s;
}

.hero-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FEATURES SECTION ===== */
.features {
  background-color: var(--bg-white);
  position: relative;
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-medium);
}

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

.feature-card {
  background-color: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--bg-white);
}

.feature-title {
  margin-bottom: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  right: -150px;
  top: -150px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 98, 204, 0.1), rgba(0, 164, 214, 0.1));
}

.about::after {
  content: '';
  position: absolute;
  left: -150px;
  bottom: -150px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 98, 204, 0.1), rgba(0, 164, 214, 0.1));
}

.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 3rem;
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
}

.about-content ul {
  margin-bottom: 2rem;
}

.about-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: var(--body-size);
}

.about-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
  border-radius: 50%;
}

/* ===== ENTERTAINMENT/RESOURCES SECTION ===== */
.entertainment {
  background-color: var(--bg-white);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.link-card {
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  transition: all var(--transition-medium);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  background: linear-gradient(135deg, rgba(0, 98, 204, 0.05), rgba(0, 164, 214, 0.05));
}

.link-card a {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-color);
  text-align: center;
}

.link-card a:hover {
  color: var(--accent-color);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: var(--bg-light);
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  color: var(--bg-white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.contact-text p {
  color: var(--text-medium);
  margin-bottom: 0.25rem;
}

.contact-form {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 98, 204, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bg-dark);
  padding: 5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
}

.footer-about img {
  height: 40px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--bg-white);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-white);
  transform: translateY(-3px);
}

.footer-links-wrapper h3 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 1rem;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 1.25rem;
}

.footer-links a:hover::before {
  background: var(--accent-light);
  transform: translateY(-50%) scale(1.2);
}

.footer-contact h3 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 1rem;
  color: var(--primary-color);
}

.copyright {
  margin-top: 4rem;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  font-size: var(--small-size);
  margin-bottom: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  :root {
    --h1-size: 3rem;
    --h2-size: 2.25rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 1.25rem 0;
  }
  
  .nav-link {
    color: var(--text-dark);
    font-size: 1.2rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  :root {
    --h1-size: 2.25rem;
    --h2-size: 1.75rem;
    --h3-size: 1.35rem;
    --body-size: 1rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .section-title {
    margin-bottom: 3rem;
  }
  
  .nav-menu {
    width: 85%;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
}
