/*
Theme Name: SY365 Clean
Description: Clean WordPress theme for SY365 Microsoft 365 support
Version: 1.0
*/

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #0078d4;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  color: #0078d4;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #005a9e;
}

/* Buttons */
.button {
  display: inline-block;
  background-color: #000080;
  color: white;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}

.button:hover {
  background-color: #000066;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.button-secondary {
  background-color: #008394;
  border: 2px solid #008394;
}

.button-secondary:hover {
  background-color: #00a1a5;
  border-color: #00a1a5;
}

/* Header - Simple and Clean */
.site-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.site-branding {
  flex: 0 0 auto;
}

.site-logo {
  height: 80px;
  width: auto;
}

.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.main-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: #0078d4;
  background-color: rgba(0, 120, 212, 0.1);
}
.site-logo {
  height: 100px;
  width: auto;
}

.header-button {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Mobile Menu - HIDDEN on desktop */
.mobile-toggle {
  display: none;
}

/* Page Content - FULL WIDTH SUPPORT */
.page-content-section {
  padding: 0;
  width: 100%;
  max-width: none;
}

.page-content {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Entry Content - FULL WIDTH */
.entry-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  color: #0078d4;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-content h1:first-child,
.page-content h2:first-child,
.page-content h3:first-child {
  margin-top: 0;
}

.page-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.page-content ul,
.page-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.page-content li {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.page-content blockquote {
  background: #f8f9fa;
  border-left: 4px solid #0078d4;
  padding: 20px;
  margin: 30px 0;
  font-style: italic;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

/* Footer */
.site-footer {
  background-color: #2c3e50;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-section h3 {
  color: #0078d4;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section li {
  color: #bdc3c7;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #0078d4;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #95a5a6;
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  margin-top: 10px;
}

.footer-legal a {
  color: #95a5a6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #0078d4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .header-content {
    padding: 0 20px;
    position: relative;
  }
  
  .site-logo {
    height: 70px;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .main-navigation.active {
    display: block;
  }
  
  .main-nav {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
  }
  
  .main-nav a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
  }
  
  .mobile-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .header-contact-button {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  
  .page-content-section {
    padding: 40px 0;
  }
}



/* Page Hero Section Styling - Subtle gradient like SY Limited */
.page-hero {
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.95) 0%,
        rgba(241, 245, 249, 0.9) 25%,
        rgba(226, 232, 240, 0.85) 50%,
        rgba(203, 213, 225, 0.8) 75%,
        rgba(186, 230, 253, 0.75) 100%);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(240, 249, 255, 0.6) 50%,
        rgba(219, 234, 254, 0.4) 100%);
    z-index: 1;
}

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

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero p {
    font-size: 1.4rem;
    color: #374151;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.page-hero img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Enhanced Page Content Styling */
.page-content h2 {
    color: #0078d4;
    margin: 40px 0 20px;
    font-size: 2rem;
}

.page-content h3 {
    color: #333;
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

/* Icon styling for headings */
.page-content .icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

/* Call-to-action sections */
.cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e1f5fe 100%);
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
    text-align: center;
}

.cta-section h3 {
    color: #0078d4;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Grid layouts for content */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.content-grid-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    text-align: center;
}

/* Responsive design for page hero */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.2rem;
    }
    
    .content-grid,
    .content-grid-three {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-content h2 {
        font-size: 1.8rem;
    }
    
    .page-content h3 {
        font-size: 1.2rem;
    }
}

.custom-logo-link {
  display: block !important;
  line-height: 0 !important;
}
.custom-logo-link img {
  height: 80px !important;
  width: auto !important;
  max-width: none !important;
}
