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

body {
    font-family:'Montserrat', sans-serif;
    line-height: 1.6;
    color: #9e8c8c;
    background-color: #f8f9fa;
}

h1 , h2, h3 {
    font-family: 'playfair display', 'serif';
    font-weight: 700;
    color: #2c3e50;
}
h1{
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}
h2{
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
}
h3{
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #34495e;
}
p {
    margin-bottom: 1rem;
    font-weight: 300;
}
em {
    font-style: italic;
    color: brown;
}
strong {
    font-weight: 600;
    color: #2c3e50;
}
header {
    background-color: #d9e9f0;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(222, 199, 199, 0.1);
}
.tagline {
    font-size: 1.2rem;
    color: #ecf0f1;
    margin-bottom: 0.5rem;
    font-weight: 300;
}
nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    
}
nav a {
    color: rgb(99, 95, 95);
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
nav a:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    border: 1px solid #2980b9;
    transform: translateY(-2px);
}
.hero {
    background: linear-gradient(rgb(143, 182, 220, 0.8), rgba(62, 61, 62, 0.8)), url('hero-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 6rem 1rem;
    text-align: center;
    margin-bottom: 3rem;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.my-content {
    max-width: 800px;
    margin: 0 auto;
   }
   .hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    
   }
    .hero p {
     font-size: 1.2rem;
     font-weight: 300;
     max-width: 600px;
     margin: auto;
     color: #ecf0f1;
    }
    .gallery-section {
        padding: 4rem 1rem;
        background-color: rgb(205, 185, 185);
    
    }
    .gallery-section > p {
        text-align: center;
        margin-bottom: 3rem;
        color: #4e5256;
        font-size: 1.1rem;
    }
    .photo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    .photo-item{
        background-color: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }
    .photo-item:nth-child(1){
        border: 3px solid #b57169;
    }
    .photo-item:nth-child(2){
        border: 3px solid #6ab0ab;
    }
    .photo-item:nth-child(3){
        border: 3px solid #9e7bb5;
    }
    .photo-item:nth-child(4){
        border: 3px solid #f1ce6d;
    }
    .photo-item:nth-child(5){
        border: 3px solid #9840f0;
    }
    .photo-item img {
        width: 100%;
        display: block;
        transition: transform 0.5s ease;
        height: 250px;
        object-fit: cover;
    }
    .photo-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);

    }
    .photo-item:hover img {
        transform: scale(1.05);
    }
    .photo-description {
        padding: 1.5rem;
        text-align: center;
        font-weight: 500;
        color: #2c3e50;
        background-color: #f8f9fa;
    }
    .photo-description h3 {
        margin-bottom: 0.5rem;
        color: #2c3e50;
    }
    .about-section {
        padding: 4rem 1rem;
        background-color: #ecf0f1;
    }
    .about-content {
        max-width: 800px;
        margin: 0 auto;
        
    }
    .about-text {
        background: rgb(157, 219, 230);
        padding: 2.5rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        line-height: 1.8;
    }
    .about-text p {
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }
    .contact-section {
        padding: 4rem 1rem;
        background-color: #d9e9f0;
    }
    .contact-section > p {
        text-align: center;
        margin-bottom: 2rem;
        color: #151818;
    }
    .contact-info {
        max-width: 800px;
        margin: 2rem auto 3rem;
        padding: 2rem;
       
        background-color: rgb(232, 204, 204);
        border-radius: 8px;
        border: 1px solid #01090f;
        
    }
    .contact-info p {
        margin: 0.8rem 0;
        font-size: 1.1rem;
        
    }
    .contact-info a {
        color: #2980b9;
        text-decoration: none;
        transition: color 0.3s ease;
    }   
    .contact-info a:hover {
        color: #1c5980;
        text-decoration: underline;
    }
    .social-media-links {
        list-style-type: none;
        display: flex;
        gap: 1.5rem;
        
        margin-top: 1rem;
    }
    .social-media-links a {
        color: #2c3e50;
        text-decoration: none;
        padding: 0.5rem 1rem;
        background-color: aqua;
        border-radius: 4px;
        border: 1px solid #ddd;
        transition: color 0.3s ease;
    }
    .social-media-links a:hover {
        background-color: #9e7bb5;
        color: white;
        border-color: #9e7bb5;
    }
    .contact-form {
        max-width: 600px;
        margin: 3rem auto;
        padding: 2rem;
        background-color: rgb(248, 167, 167);
        border-radius: 8px;
        border: 1px solid #01090f;
        
    }
    .contact-form h3 {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .contact-form > p {
        text-align: center;
        margin-bottom: 2rem;
        color: #151818;
    }
    .contact-form form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        
    }
    .contact-form label {
        font-weight: 600;
        margin-bottom: 0.3rem;
        color: #2c3e50;
        display: block;
    }
    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1rem;
        font-family: 'Montserrat', sans-serif;
        transition: border-color 0.3s ease;
    }
    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: #2980b9;
        outline: none;
        box-shadow: 0 0 0 3px rgba(30, 4, 116, 0.2);
    }
    .contact-form button {
        padding: 1rem 2rem;
        background-color: #2980b9;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
        align-self:  flex-start;
    }
    .contact-form button:hover {
        background-color: #1c5980;
    }
    .footer {
        background-color: #bacbdc;
        color: white;
        padding: 2rem 1rem;
        text-align: center;
        margin-top: 1rem;
    }
    .footer p {
        margin-top: 1rem;
        color: #151818;
    }
    .footer a {
        color: #2980b9;
    }
    @media (max-width: 768px) {
        h1 {
            font-size: 2.2rem;
        }
        h2 {
            font-size: 1.8rem;
        }
        nav ul {
            flex-direction: column;
            gap: 0.5rem;
        }
        .photo-grid {
            grid-template-columns: 1fr;
        }
        .hero {
            padding: 4rem 1rem;
            min-height: 50vh;
        }
    }
    .about-text,
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    .social-media-links {
        flex-direction: column;
        align-items: center;
    }

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .hero h2 {
        font-size: 1.6rem;
    }
   .gallery-section,
    .about-section,
    .contact-section {
        padding: 2rem 1rem; 
    }
    .contact-form button {
        width: 100%;
        
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.photo-item,
.about-text,
.contact-info,
.contact-form {
    animation: fadeIn 0.6s ease-in-out;
}