/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Title */
header h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #333;
    font-family: 'Encode Sans', sans-serif;
}

/* Contact Button */
.contact-btn {
    background-color: #007bff;
    color: white;
    padding: 14px 28px; 
    border-radius: 8px; 
    text-decoration: none;
    font-size: 18px; 
    font-weight: 600; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: all 0.3s ease; 
    display: inline-block; 
}

.contact-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
}

/* Name styles */
.name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #333;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .contact-btn {
        margin-top: 10px;
    }
}

/* Hero Section (Carousel) */
.hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    border: 1px solid rgba(74, 72, 72, 0.2); 
    border-radius: 15px;        
    margin: 20px auto;         
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
}

.carousel {
    position: absolute;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: inline-block;
    color: #333;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 2.5em;
    margin: 0;
}

.hero p {
    font-size: 1.2em;
    margin: 10px 0;
}

/* Projects Section */
.projects {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Grid Layout */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Project Cards */
.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; 
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* Project Images */
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Project Title */
.project-card h3 {
    margin: 10px 0;
    color: #333;
    font-size: 1.5rem;
}

/* Project Description */
.project-card p {
    flex-grow: 1; 
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 15px 25px; 
    background-color: #ff6600;
    color: white;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  
    border: 2px solid white;  
    transition: background-color 0.3s, transform 0.3s;  
}

.btn:hover {
    background-color: #e65c00;  
    transform: scale(1.05);  
}

/* Main Content */
main {
    padding: 20px;
    text-align: center;
}

main h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

main p {
    font-size: 1rem;
    color: #666;
}
/* Frosted Hover Effect for Project Three */
.coming-soon-card .image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.coming-soon-card .frosted-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coming-soon-card .frosted-overlay span {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.coming-soon-card:hover .frosted-overlay {
    opacity: 1;
}

.coming-soon-card img {
    transition: filter 0.3s ease;
}

.coming-soon-card:hover img {
    filter: blur(3px);
}
/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}