/* Modern Design System for Amaxophobie.com */

:root {
  --primary-color: #004080;
  --secondary-color: #0066cc;
  --accent-color: #e6f2ff;
  --text-color: #333333;
  --light-text: #555555;
  --white: #ffffff;
  --background-overlay: rgba(0, 64, 128, 0.6); /* For hero overlay if needed */
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: #f4f7fa; /* Softer than pure white/blue mix */
}

/* Header */
header {
  background-color: var(--white);
  color: var(--primary-color);
  padding: 1rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 64, 128, 0.7), rgba(0, 64, 128, 0.7)), url('../img/back.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Main Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* Content Sections */
section {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

h2 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
}

p, ul {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

/* Contact Form Styling - Preserving Structure */
.contact-section {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

label {
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

input, textarea {
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    margin-top: 2rem;
    transition: background 0.3s;
    align-self: flex-start;
}

button[type="submit"]:hover {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 40px 20px;
    background-color: #e9ecef;
    color: var(--light-text);
    font-size: 0.9rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 20px;
    }
}
