/* styles/main.css - Core Styles (Reset, Typography, Layout) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed navbar */
  }
  
  body {
    font-family: "Inter", sans-serif;
    background: var(--bg-light);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
  }
  
  h1,
  h2,
  h3 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: var(--black);
  }
  
  h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1rem;
  }
  h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
  h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-bottom: 1rem;
  }
  
  p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--gray);
    margin-bottom: 1rem;
  }
  
  a {
    text-decoration: none;
    color: var(--secondary);
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--accent);
  }
  
  .hero {
    padding: clamp(36px, 6vw, 48px) 2rem 2.4rem;
    text-align: center;
    background: var(--bg-light);
  }
  
  .hero-content {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .hero-content h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1rem;
    color: var(--black);
  }
  
  .hero-sub {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--gray-dark);
  }
  
  .footer {
    padding: 2rem;
    text-align: center;
    background: var(--bg-light);
  }
  
  .footer p {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    color: var(--gray-dark);
  }
  
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 2rem);
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 2vw, 2rem);
  }
  
  .col-md-6 {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .col-lg-4 {
    flex: 1 1 33.33%;
    max-width: 33.33%;
  }
  .col-sm-6 {
    flex: 1 1 50%;
    max-width: 50%;
  }
  .col-lg-2 {
    flex: 1 1 16.67%;
    max-width: 16.67%;
  }
  
  .widget1,
  .widget2,
  .widget3,
  .widget4 {
    margin-bottom: 2rem;
  }
  
  .widget1 .logo a {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--black);
    transition: color 0.3s ease;
  }
  
  .widget1 .logo a:hover {
    color: var(--secondary);
  }
  
  .socialLinks {
    margin-top: 1.5rem;
  }
  
  .socialLinks ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
  }
  
  .socialLinks a {
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    transition: all 0.3s ease;
    color: var(--text-light);
  }
  
  .socialLinks a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Social media brand colors */
  .socialLinks a .fa-youtube { 
    color: #ff0000;
    font-size: 1.2rem;
  }
  .socialLinks a .fa-x-twitter { 
    color: #000000;
    font-size: 1.2rem;
  }
  .socialLinks a .fa-facebook-f { 
    color: #1877f2;
    font-size: 1.2rem;
  }
  .socialLinks a .fa-instagram { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-size: 1.2rem;
  }
  
  /* Dark theme adjustments */
  [data-theme="dark"] .socialLinks a {
    background: var(--gray-dark);
    color: var(--text-dark);
  }
  
  [data-theme="dark"] .socialLinks a:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .widget2 .media {
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .widget2 .content a {
    color: var(--secondary);
  }
  
  .widget2 .content span {
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    color: var(--gray);
  }
  
  .widget3 ul,
  .widget4 ul {
    list-style: none;
    text-align: left;
  }
  
  .widget3 ul li,
  .widget4 ul li {
    margin-bottom: 0.5rem;
  }
  
  .copyRightArea {
    margin-top: 2rem;
  }
  
  .back-to-top {
    position: fixed;
    bottom: clamp(15px, 2vw, 20px);
    right: clamp(15px, 2vw, 20px);
    width: clamp(40px, 5vw, 50px);
    height: clamp(40px, 5vw, 50px);
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .back-to-top.visible {
    opacity: 1;
  }
  
  section,
  header,
  footer {
    position: relative;
    z-index: 1;
  }
  
  /* Skip Link */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px;
    z-index: 100;
    transition: top 0.3s ease;
  }
  
  .skip-link:focus {
    top: 0;
  }
  
  /* Print Styles */
  @media print {
    .navbar,
    .back-to-top,
    .socialLinks,
    .platform-actions {
      display: none !important;
    }
  
    body {
      background: var(--white);
      color: var(--black);
    }
  
    a[href]:after {
      content: " (" attr(href) ")";
      font-size: 0.8em;
    }
  }
  
  /* Focus Styles */
  :focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  
  :focus:not(:focus-visible) {
    outline: none;
  }
  
  :focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  
  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    
    .back-to-top,
    .skip-link,
    a,
    button {
      transition: none !important;
    }
    
    .error-message {
      animation: none;
    }
  }
  
  /* Responsive Breakpoints */
  @media (max-width: 1200px) {
    .col-lg-4 {
      flex: 1 1 50%;
      max-width: 50%;
    }
  }
  
  @media (max-width: 992px) {
    .col-lg-2 {
      flex: 1 1 33.33%;
      max-width: 33.33%;
    }
  }
  
  @media (max-width: 768px) {
    .col-md-6,
    .col-lg-4,
    .col-sm-6,
    .col-lg-2 {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }
  
  /* Error Messages */
  .error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--error-bg, #fee2e2);
    color: var(--error-text, #991b1b);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px var(--shadow-light);
    z-index: 1000;
    max-width: 90%;
    animation: slideIn 0.3s ease-out;
  }
  
  @keyframes slideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }