/* File: style.css */
:root {
  /* Colors */
  --primary-color: #064567;
  --primary-dark: #053a56;
  --secondary-color: #0a6f8c;
  --background-color: #f4f4f4;
  --text-color: #333;
  --light-text: #666;
  --white: #fff;
  --success-color: #28a745;

  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --btn-shadow: 0 4px 15px rgba(6, 69, 103, 0.2);
  --btn-shadow-hover: 0 6px 20px rgba(6, 69, 103, 0.3);

  /* Border Radius */
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 20px;
  --border-radius-full: 50%;

  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 40px;

  /* Typography */
  --font-size-sm: 0.9rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.2rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3.5rem;

  /* Transitions */
  --transition-base: all 0.3s ease;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 70px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  line-height: 1.6;
}

.logo-image > img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 100px;
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

nav {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  flex-wrap: wrap;
}

nav > a {
  text-decoration: none;
  font-weight: bold;
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-size-base);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-base);
  white-space: nowrap;
}

nav > a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

section {
  margin: 20px;
  padding: 5px;
}

#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #f4f4f4 0%, #e0e0e0 100%);
  position: relative;
  overflow: hidden;
  padding: 0 20px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.2;
}

.highlight {
  color: #064567;
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #064567;
  border-radius: 2px;
}

.hero-description {
  font-size: 1.5em;
  color: #064567;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.1em;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1.1em;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #064567;
  color: white;
  box-shadow: 0 4px 15px rgba(6, 69, 103, 0.2);
}

.btn-primary:hover {
  background-color: #053a56;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 69, 103, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #064567;
  border: 2px solid #064567;
}

.btn-secondary:hover {
  background-color: #064567;
  color: white;
  transform: translateY(-2px);
}

.hero-image {
  flex: 0 0 400px;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.hero-shape {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-color: #064567;
  border-radius: 20px;
  z-index: 1;
}

#profile,
#portfolio {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 50vh;
}

#message {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.message-container {
  display: flex;
  gap: 10%;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.form-group label {
  width: 200px;
  text-align: left;
  margin-right: 100px;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group textarea {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.gender-options {
  display: flex;
  gap: 20px;
}

.message-preview {
  flex: 1;
  margin-top: 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-right: 20px;
}

.message-preview p {
  margin: 5px 0;
}

button[type="submit"] {
  background-color: #064567;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
}

button[type="submit"]:hover {
  background-color: #053a56;
}

button {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  display: block;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #064567;
  color: white;
}

/* Profile Section Styles */
#profile {
  min-height: 100vh;
  padding: 40px 20px;
  background-color: #fff;
}

.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 20px;
}

.profile-image {
  flex: 0 0 300px;
}

.profile-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-content {
  flex: 1;
}

.profile-content h3 {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #064567;
}

.profile-intro {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.profile-section {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.profile-section h4 {
  color: #064567;
  margin-bottom: 15px;
  font-size: 1.2em;
}

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

.profile-section ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.profile-section ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #064567;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background-color: #064567;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9em;
}

/* Media Query for Responsive Design */
/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .container {
    width: 95%;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .hero-content,
  .profile-container {
    padding: var(--spacing-md);
  }

  .hero-text h1 {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 968px) {
  /* Header & Navigation */
  header {
    padding: var(--spacing-xs) var(--spacing-md);
  }

  nav {
    gap: var(--spacing-xs);
  }

  nav > a {
    font-size: var(--font-size-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  /* Hero Section */
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    height: auto;
    min-height: 100vh;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .hero-image {
    flex: 0 0 250px;
    width: 80%;
    margin: 0 auto;
  }

  .hero-text {
    max-width: 100%;
  }

  /* Profile Section */
  .profile-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-image {
    width: 60%;
    max-width: 300px;
    margin-bottom: var(--spacing-lg);
  }

  .profile-details {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* Message Section */
  .message-container {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .form-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-group label {
    width: 100%;
    margin-bottom: var(--spacing-xs);
  }

  .message-preview {
    margin: var(--spacing-md) 0;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  /* Navigation */
  nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: var(--spacing-xs);
    box-shadow: var(--shadow-md);
    justify-content: space-around;
    z-index: 1000;
  }

  nav > a {
    padding: var(--spacing-xs);
    font-size: var(--font-size-sm);
    text-align: center;
  }

  /* Hero Section */
  .hero-content {
    padding-bottom: var(--spacing-lg);
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-image {
    width: 100%;
  }

  /* Profile Section */
  .profile-section {
    padding: var(--spacing-sm);
  }

  .profile-image {
    width: 80%;
  }

  .skills-container {
    justify-content: center;
  }

  /* Portfolio Section */
  .portfolio-container {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }

  .portfolio-container a {
    width: 100%;
    text-align: center;
    margin-bottom: var(--spacing-sm);
  }

  /* Form Section */
  .gender-options {
    flex-direction: column;
    gap: var(--spacing-xs);
    width: 100%;
  }

  /* Add padding to bottom for fixed navigation */
  body {
    padding-bottom: calc(var(--header-height) + var(--spacing-md));
  }
}

#portfolio {
  padding: 40px 10px;
  background-color: white;
}

.portfolio-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.portfolio-container a {
  background-color: var(--primary-color);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-size: var(--font-size-lg);
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

.portfolio-container a:hover {
  transform: translateY(-3px);
  background-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
}

/* Smooth scroll behavior for anchor links */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img[loading] {
  opacity: 0;
}

/* Add hover effects to interactive elements */
.skill-tag:hover {
  transform: scale(1.05);
  transition: var(--transition-base);
}

.profile-section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}
