/* Modern styling for Tony's Website */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #e8d5f2;
  color: #f0f0f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  padding: 40px 20px;
}

container {
  max-width: 550px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

h1 {
  color: #1e3c72;
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid #2a5298;
  padding-bottom: 15px;
}

h2 {
  color: #2a5298;
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h3 {
  color: #2a5298;
  font-size: 1.3em;
  margin-top: 20px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.1em;
}

ul, ol {
  margin-left: 30px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 10px;
  color: #333;
  font-size: 1.05em;
}

a {
  color: #2a5298;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

a:hover {
  color: #ff6b6b;
  border-bottom: 2px solid #ff6b6b;
  transform: translateY(-2px);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 15px 0;
}

img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

nav {
  margin: 30px 0;
  padding: 20px 0;
  border-top: 2px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #f0f0f0;
  border-radius: 5px;
  transition: all 0.3s ease;
  width: 100%;
  height: 150px;
  aspect-ratio: 3/2;
  font-size: 1.1em;
  font-weight: 600;
  text-align: center;
}

nav a:hover {
  background: #2a5298;
  color: white;
  border-bottom: none;
  transform: translateY(0);
}

.welcome {
  font-size: 1.3em;
  color: #2a5298;
  font-style: italic;
  margin: 20px 0;
}

header {
  background: white;
  padding: 25px 20px;
  margin: -40px -20px 30px -20px;
  border-radius: 15px 15px 0 0;
  text-align: center;
  border-bottom: 3px solid #2a5298;
}

header h1 {
  color: #1e3c72;
  font-size: 2.2em;
  margin: 0;
  padding: 0;
  border: none;
  text-shadow: none;
}

header p {
  color: #666;
  font-size: 0.95em;
  margin: 5px 0 0 0;
}

footer {
  background: #f0f0f0;
  padding: 25px 20px;
  margin: 40px -40px -40px -40px;
  border-radius: 0 0 15px 15px;
  border-top: 2px solid #e0e0e0;
  text-align: center;
  color: #555;
  font-size: 0.9em;
}

footer p {
  margin: 8px 0;
  color: #555;
}

footer a {
  color: #2a5298;
  margin: 0 10px;
}

.button-panel {
  background: #f9f9f9;
  padding: 25px 20px;
  margin: 30px 0;
  margin-top: 0;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  text-align: center;
  display: none;
}

.button-panel.active {
  display: block;
}

.button-panel a {
  display: inline-block;
  margin: 8px 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  border-bottom: none;
  transition: all 0.3s ease;
}

.button-panel a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  color: white;
  border-bottom: none;
}

.button-panel {
  background: #f9f9f9;
  padding: 25px 20px;
  margin: 30px 0;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  text-align: center;
}

.button-panel a {
  display: inline-block;
  margin: 8px 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  border-bottom: none;
  transition: all 0.3s ease;
}

.button-panel a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  color: white;
  border-bottom: none;
}