@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Poppins:wght@300;400;600&display=swap'); /* Google Fonts */

:root { /* Color variables */
    --pearl-white: #f0f7f9;
    --lagoon-blue: #0077b6;
    --deep-ocean: #003554;
    --seafoam: #90e0ef;
    --glass: rgba(255, 255, 255, 0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { /* Body styling */
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), linear-gradient(135deg, var(--pearl-white) 0%, #ffffff 100%); /* Subtle textured background */
    color: var(--deep-ocean);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

h1, h2 { font-family: 'Playfair Display', serif; font-weight: 700; }

header { /* Header styling */
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(240, 247, 249, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 119, 182, 0.1);
    display: flex;
    justify-content: center;
}

nav { /* Navigation bar styling */
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    width: 100%; 
    max-width: 1400px; 
    padding: 0 2rem; 
}

nav ul { /* Navigation list styling */
    display: flex; 
    list-style: none; 
    gap: 30px; 
}

nav a { /* Navigation link styling */
    color: var(--deep-ocean); 
    text-decoration: none; 
    font-size: 0.9rem; 
    font-weight: 600; 
    transition: 0.3s; 
}

nav a:hover { /* Hover effect for navigation links */
    color: var(--lagoon-blue); 
    transform: translateY(-2px); 
}

.hero { /* Hero section styling */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 4rem 60px 2rem;
}

.profile-photo { /* Profile photo styling */
    width: 300px;
    height: 300px;
    border-radius: 10%;
    object-fit: cover;
    border: 3px solid var(--seafoam);
    opacity: 0.8;
    transition: all 0.5s ease;
}

.profile-photo:hover { /* Hover effect for profile photo */
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--lagoon-blue);
}

.experience-list { /* Experience list styling */
    list-style-type: none;
    padding-left: 0;
}

.experience-list li { /* Individual experience item styling */
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.experience-list li::before { /* Custom bullet point styling */
    content: "•";
    color: var(--lagoon-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.hero h1 {  /* Hero heading styling */
    font-size: 3rem; 
    color: var(--lagoon-blue); 
    margin-bottom: 1.5rem; 
}

.hero p { /* Hero paragraph styling */
    font-size: 1.2rem; 
    max-width: 600px; 
    color: var(--deep-ocean); 
    opacity: 0.8; }

.wave-container { /* Decorative wave at the bottom of hero section */
    position: absolute;
    bottom: 0;
    width: 100%;
    line-height: 0;
}

.container { /* Main content container */ 
    max-width: 1100px; 
    margin: auto; 
    padding: 4rem; 
}

.grid { /* Grid layout for sections */
    margin-top: 2rem;
}

.card { /* Card styling */
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .card { /* 2-column layout for cards for bigger screens */
        display: inline-block;
        vertical-align: top;
        margin-right: 3%;
    }
}

.skills-grid { /* Skills tags container */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.skills-tag { /* Individual skill tag styling */
    background: var(--glass);
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--seafoam);
    color: var(--deep-ocean);
    font-weight: 600;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.skills-tag:hover {
    background: var(--lagoon-blue);
    color: white;
    transform: scale(1.1) rotate(2deg);
}

.card { /* Card base styling */
    background: var(--glass);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.1);
    transition: 0.4s;
    opacity: 0.8; 
    transition: all 0.3s ease;
}

.card:hover {  /* Hover effect for cards */
    opacity: 1;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 119, 182, 0.2);
    border-color: var(--lagoon-blue);
}

.footer-link { /* Footer link styling */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-link:hover { /* Footer link hover effect */
    opacity: 1;
}

.photo-container { /* Photography page photo grid */
    column-count: 1;
    column-gap: 20px;
    margin-top: 2rem;
}

.photo-item { /* Individual photo item styling */
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.photo-item img {  /* Photo image styling */
    width: 100%;
    display: block;
    height: auto;
}

.photo-item:hover { /* Photo hover effect */
    opacity: 1;
    transform: scale(1.02);
}

@media (min-width: 768px) { /* 2-column layout for photos on medium screens */
    .photo-container {
        column-count: 3;
    }
}