/* CSS Variables for theming - Default to light theme */
:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --accent-color: #0084ff;
  --button-bg: #0077ff;
  --panel-color: #ffffff;
  --link-bg: #f0f0f0;
  --link-hover: #e0e0e0;
  --border-color: rgba(0,0,0,0.1);
}

body.dark {
  --bg-color: #0a0a0a;
  --text-color: #ffffff;
  --accent-color: #00d4ff;
  --button-bg: #005ecc;
  --panel-color: #1a1a1a;
  --link-bg: rgba(255,255,255,0.1);
  --link-hover: rgba(255,255,255,0.2);
  --border-color: rgba(255,255,255,0.1);
}


body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  transition: all 0.3s ease;
  padding-top: 80px;
  
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  /* Frosted glass effect */
  background: rgba(255, 255, 255, 0.25); /* slightly stronger tint */
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);

  /* Edge and depth shadows to simulate real glass */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), 
              0 1px 0 rgba(255, 255, 255, 0.2) inset;

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0; /* keep it full-width, but you can round corners if you want */

  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* Smooth transitions for theme switch or scroll */
  transition: background 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* Dark mode version */
body.dark header {
  background: rgba(20, 20, 20, 0.35); /* slightly darker tint */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4), 
              0 -2px 0 rgba(255,255,255,0.05) inset;
}


.site-title {
  font-size: 1.2rem;
  font-weight: bold;
  /*color: var(--accent-color);*/
  color:#6a7389;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

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

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#theme-toggle {
  background: var(--link-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

#theme-toggle:hover {
  background: var(--link-hover);
}

.mobile-menu-toggle {
  display: none;
  background: var(--link-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem 0.7rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.mobile-menu-toggle:hover {
  background: var(--link-hover);
}

/* Main Content */
main {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 2rem 2rem;
}

.logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: rgba(51,51,51,0.7);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

body.dark .subtitle {
  color: rgba(255,255,255,0.7);
}

.link-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;

  /* Glassy base */
  background: rgba(255, 255, 255, 0.15); /* slightly stronger tint */
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);

  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25); /* slightly more visible border */
  color: var(--text-color);
  text-decoration: none;

  /* Depth and realism */
  box-shadow: 
    0 8px 25px rgba(0,0,0,0.2),
    inset 0 -2px 6px rgba(255,255,255,0.12);

  transition: all 0.3s ease;
  position: relative;
}

body.dark .link-button {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 8px 25px rgba(0,0,0,0.4),
    inset 0 -2px 6px rgba(255,255,255,0.05);
}

.link-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(0, 132, 255, 0.35),
    inset 0 -2px 6px rgba(255,255,255,0.12);
  background: rgba(255, 255, 255, 0.2);
}

body.dark .link-button:hover {
  background: rgba(0,0,0,0.45);
  box-shadow:
    0 12px 30px rgba(0, 212, 255, 0.45),
    inset 0 -2px 6px rgba(255,255,255,0.05);
}

.link-button img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}


/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
  z-index: 10;
  position: relative;
}

footer nav {
  justify-content: center;
  margin-bottom: 1rem;
}


/* Page-specific styles */
.page-content {
  padding: 120px 2rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.page-content h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.page-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Mobile Navigation - Hidden by default */
.mobile-nav {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel-color);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  nav.show {
    display: flex;
  }

  nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-color);
  }

  nav a:last-child {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  main {
    padding: 120px 1rem 2rem;
  }

  h1 {
    font-size: 2rem;
  }


  footer {
    margin-bottom: 5rem;
  }
}


/* Tools Grid */
.tools-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tool Card Panel */
.tool-card {
  background: var(--panel-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,132,255,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,132,255,0.15);
}

.tool-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tool-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.tool-card button {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  background-color: var(--button-bg);
  color: white;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tool-card button:hover {
  background-color: #004bb5;
}
/* Add this to your existing style.css file */

/* Fix for tools page content spacing */
.page-content {
  padding: 40px 2rem 2rem; /* Reduced top padding from 120px to 100px */
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .page-content {
    padding: 80px 1rem 2rem; /* Even less padding on mobile */
  }
  
  main {
    padding: 80px 1rem 2rem; /* Adjust main padding for mobile */
  }
}

/* Global Mobile Padding & Responsiveness Fixes */
html, body {
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Shared Mobile Styles (up to 768px) */
@media (max-width: 768px) {
  .whatsapp-container,
  .calendar-wrapper,
  .page-content {
    max-width: 100% !important;
    padding: 1rem !important;
    margin: 1rem auto !important;
    box-sizing: border-box !important;
  }

  .calendar-container {
    padding: 0 1rem;
    box-sizing: border-box;
  }

  main {
    padding: 80px 1rem 2rem !important;
  }

  header {
    padding: 1rem !important;
  }

  .row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  #countryCode, #phoneNumber {
    width: 100%;
    margin: 0;
  }

  .arrow {
    flex-shrink: 0;
    max-width: 45px;
    max-height: 45px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
}

/* Extra Small Screens (up to 480px) */
@media (max-width: 480px) {
  .whatsapp-container,
  .calendar-wrapper,
  .page-content {
    padding: 0.75rem !important;
    margin: 1rem auto !important;
  }

  .calendar-container {
    padding: 0 0.75rem;
  }

  main {
    padding: 80px 0.75rem 2rem !important;
  }

  .arrow {
    max-width: 40px;
    max-height: 40px;
    font-size: 20px;
  }
}
/* For About me page*/

.about-content {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  color: #e0e0e0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.8;
}

/* Headings styling */
.about-content h1 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #00d4ff;
}

.about-content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #a0e0ff;
}

/* Paragraphs */
.about-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Lists without default bullets */
.about-content ul {
  list-style: none;
  padding-left: 1rem;
}

.about-content ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.8rem;
}

.about-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #00d4ff;
  font-weight: bold;
}

/* Links style */
.about-content a {
  color: #80e0ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-content a:hover {
  text-decoration: underline;
  color: #00d4ff;
}
