/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Neue', cursive;
}

/* Body */
body {
    background-color: #e0f7f7;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #00b3b3;
    color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

header .logo {
    font-size: 1.6em;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.profile-photo {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    border: 5px solid #00b3b3;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
}

/* Card Sections */
.card-section {
    background-color: #fff;
    color: #333;
    margin: 40px auto;
    padding: 40px 20px;
    border-radius: 15px;
    max-width: 950px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

/* Hobbies */
.hobbies {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.hobby {
    background-color: #c6f0f0;
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1em;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Gallery Card */
.gallery-card {
    background-color: #f9fff9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-card iframe,
.gallery-card img {
    width: 100%;
    border: none;
    display: block;
}

.gallery-card p {
    padding: 10px;
    font-weight: bold;
    color: #333;
}

/* Achievements */
#achievements ul {
    list-style-type: disc;
    padding-left: 20px;
    display: inline-block;
    text-align: left;
    margin-top: 20px;
}

/* Contact */
#contact a {
    color: #00b3b3;
    font-weight: bold;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

#contact form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#contact input, #contact textarea {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-family: 'Comic Neue', cursive;
}

#contact button {
    padding: 12px;
    background-color: #00b3b3;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

#contact button:hover {
    background-color: #009191;
}

/* Footer */
footer {
    background-color: #00b3b3;
    text-align: center;
    color: #fff;
    padding: 15px;
    margin-top: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding: 10px;
}

.gallery-card iframe, 
.gallery-card img {
  width: 100%;
  border-radius: 10px;
}

.gallery-card p {
  margin-top: 8px;
  font-weight: 500;
  color: #006666;
}


.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery img {
  width: 250px;         /* same width for all */
  height: 180px;        /* same height for all */
  object-fit: cover;    /* crop extra parts, keeps shape consistent */
  border-radius: 10px;  /* optional: rounded corners */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

