/* Lesson 1 starter CSS file.
   Add styles here in later lessons. */


* {
   box-sizing: border-box;
}

body {
   margin: 0;
   font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
   background-color: #F8FAFC;
   color: #1E293B;
   line-height: 1.6;
}

a {
   text-decoration: none;
   color: inherit;
   font-family: inherit;
   transition: all 0.3s ease;
}


header {
   background-color: #1B9AAA;
   color: #FFFFFF;
   padding: 50px 0;
   text-align: center;
   border-bottom: 3px solid #147a88;
}

header h1 {
   margin: 0 0 10px 0;
   font-size: 2.5rem;
   letter-spacing: 1px;
}

header p {
   margin: 0;
   font-weight: 300;
   font-size: 1.1rem;
   opacity: 0.9;
}


nav {
   background-color: #FFFFFF;
   border-bottom: 1px solid #E2E8F0;
   padding: 15px 0;
   position: sticky;
   top: 0;
   z-index: 100;
   text-align: center;
}

.links {
   max-width: 60%;
   margin: 0 auto;
   padding: 0;

}

.links a {
   margin-right: 35px;
   font-weight: 600;
   color: #64748B;
}

.links a {
   margin-left: 35px;
}

.links a:hover {
   color: #1B9AAA;
   padding-bottom: 5px;
   border-bottom: 2px solid #1B9AAA;
}

.about-grid-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 20px;
   margin-top: 20px;
}

.about-sub-card {
   border: 1px solid #E2E8F0;
   border-radius: 8px;
   padding: 15px;
   background-color: #fcfcfc;
   transition: transform 0.3s ease;
   text-align: center;
}

.about-sub-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.about-sub-card h3 {
   margin-top: 0;
   color: #1B9AAA;
   font-size: 1.1rem;
   margin-bottom: 0;
}

.highlight-grid-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
   gap: 20px;
   margin-top: 20px;
}

.highlight-sub-card {
   border: 1px solid #E2E8F0;
   border-radius: 8px;
   padding: 15px;
   background-color: #fcfcfc;
   transition: transform 0.3s ease;

}

.highlight-sub-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#diary article {
   padding: 15px 0;
   border-bottom: 1px solid #E2E8F0;
}

#diary article:last-child {
   border-bottom: none;
}

.photo-grid-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
   gap: 20px;
   margin-top: 20px;
}

.photo-card {
   height: 200px;
   display: flex;
   align-items: flex-end;
   padding: 1rem;
   border-radius: 10px;
   position: relative;
   overflow: hidden;
   transition: transform 0.3s ease;
}

.photo-card:hover {
   transform: scale(1.03);
}

.photo-card p {
   background: rgba(255, 255, 255, 0.9);
   padding: 0.5rem;
   border-radius: 5px;
   width: 100%;
   font-size: 0.85rem;
   z-index: 1;
}

.photo-card:nth-of-type(1) {
   background-image: url('images/santander_photo1.jpeg');
   background-size: cover;
   background-position: center;
}

.photo-card:nth-of-type(2) {
   background-image: url('images/santander_photo2.jpeg');
   background-size: cover;
   background-position: center;
}

.photo-card:nth-of-type(3) {
   background-image: url('images/santander_photo3.jpeg');
   background-size: cover;
   background-position: center;
}

.photo-card:nth-of-type(4) {
   background-image: url('images/santander_photo4.jpeg');
   background-size: cover;
   background-position: center;
}

.video-grid-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
   gap: 30px;
   margin-top: 20px;
}

.video-card {
   position: relative;
   width: 100%;
   aspect-ratio: 16 / 9;
   border-radius: 16px;
   overflow: hidden;
   box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
   transition: all 0.3s ease;
   background-color: #e2e8f0;
}

.video-card:hover {
   transform: scale(1.03);
   box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.video-card iframe {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border: none;
}

.card {
   max-width: 60%;
   margin: 40px auto;
   padding: 30px;
   border: 1px solid #E2E8F0;
   border-radius: 12px;
   background-color: #FFFFFF;
   box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card h2 {
   color: #1B9AAA;
   margin-top: 0;
   border-left: 4px solid #1B9AAA;
   padding-left: 15px;
}

footer {
   background-color: #224f5f;
   padding: 30px 0;
   margin-top: 60px;
}

footer p {
   color: #94A3B8;
   text-align: center;
   margin: 0;
   font-size: 0.9rem;
}