/* Explore Page Specific Styles */

/* Main content padding for navbar */
.explore-main-content {
    padding-top: 80px; /* Space for fixed navbar */
    min-height: calc(100vh - 100px); /* Ensures background covers full viewport height */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    padding-bottom: 60px; /* Space above footer */
    overflow: hidden; /* Important for background effects */

    /* Premium Background Design (similar to contact page for consistency) */
    background:
        /* Layer 1: Subtle diagonal stripes */
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 2px,
            transparent 2px,
            transparent 10px
        ),
        /* Layer 2: Larger, very faint circles/dots */
        radial-gradient(
            circle at top left,
            rgba(255, 255, 255, 0.02) 0%,
            transparent 20%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(255, 255, 255, 0.02) 0%,
            transparent 20%
        ),
        /* Layer 3: Main gradient - clean and modern */
        linear-gradient(135deg, #e0f7fa 0%, #c1e3ed 50%, #b3d9e8 100%); /* Softer, professional gradient */

    background-size: auto, 800px 800px, 800px 800px, cover;
    background-position: 0 0, 0 0, 100% 100%, 0 0;
    background-attachment: fixed;
}

/* Explore Hero Section - MODIFIED */
.explore-hero {
    background-color: transparent; /* Changed to transparent */
    color: #333;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 50px;
    width: 90%;
    max-width: 900px;
    border-radius: 0; /* Removed rounding */
    box-shadow: none; /* Removed shadow */
    backdrop-filter: none; /* Removed blur */
}

.explore-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8em;
    margin-bottom: 18px;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.explore-hero p {
    font-size: 1.4em;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Projects Grid Section */
.projects-grid-section {
    width: 100%;
    max-width: 1200px; /* Max width for the grid */
    padding: 0 20px;
    margin-bottom: 60px;
}

.projects-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Responsive grid */
    gap: 40px; /* Space between project cards */
    justify-content: center; /* Center grid items */
}

.project-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Slightly lighter shadow for cards */
    overflow: hidden; /* Ensures image corners are rounded */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(3px); /* Subtle blur for cards */
    display: flex;
    flex-direction: column; /* Stack image and content */
}

.project-card:hover {
    transform: translateY(-10px); /* More pronounced lift on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.project-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers area without distortion */
    border-bottom: 1px solid #eee; /* Subtle separator */
}

.project-content {
    padding: 25px;
    flex-grow: 1; /* Allows content to push links to bottom */
    display: flex;
    flex-direction: column;
}

.project-category {
    display: inline-block;
    background-color: #e0f2f7; /* Light blue */
    color: #007bff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.project-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.project-card p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take available space */
}

.project-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Pushes links to the bottom */
    padding-top: 15px;
    border-top: 1px solid #f0f0f0; /* Subtle separator for links */
}

.btn-project {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-project i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-project:hover {
    color: #0056b3;
    transform: translateX(5px);
}

.btn-project:hover i {
    transform: translateX(3px);
}

.btn-project-icon {
    color: #6c757d; /* Muted color for icon-only button */
    font-size: 1.8em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-project-icon:hover {
    color: #333;
    transform: scale(1.1);
}


/* Call to Action Section (similar to About/Contact) - MODIFIED TO REMOVE BOX EFFECT */
.call-to-action-explore {
    /* Removed box styling below */
    /* background-color: rgba(255, 255, 255, 0.95); */
    padding: 50px 30px;
    /* border-radius: 12px; */
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
    text-align: center;
    max-width: 800px;
    width: 90%;
    margin-top: 40px; /* Space above this section */
    /* backdrop-filter: blur(5px); */
}

.call-to-action-explore h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 25px;
}

.call-to-action-explore p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.contact-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.contact-button:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}


/* Responsive Design for Explore Page */
@media (max-width: 1200px) {
    .projects-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .explore-hero {
        padding: 50px 20px;
        margin-bottom: 40px;
    }
    .explore-hero h1 {
        font-size: 3.2em;
    }
    .projects-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .project-card h3 {
        font-size: 1.6em;
    }
    .project-card p {
        font-size: 0.95em;
    }
    .call-to-action-explore {
        padding: 40px 25px;
    }
    .call-to-action-explore h2 {
        font-size: 2.2em;
    }
    .call-to-action-explore p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .explore-hero {
        padding: 40px 15px;
    }
    .explore-hero h1 {
        font-size: 2.8em;
    }
    .explore-hero p {
        font-size: 1.2em;
    }
    .projects-grid-container {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
        gap: 30px;
    }
    .project-card {
        max-width: 450px; /* Constrain width when stacked */
        margin: 0 auto; /* Center when stacked */
    }
    .call-to-action-explore h2 {
        font-size: 2em;
    }
    .call-to-action-explore p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .explore-main-content {
        padding-top: 60px;
    }
    .explore-hero h1 {
        font-size: 2.2em;
    }
    .explore-hero p {
        font-size: 1em;
    }
    .project-card {
        padding-bottom: 20px; /* Adjust padding for smaller cards */
    }
    .project-content {
        padding: 20px;
    }
    .project-card h3 {
        font-size: 1.4em;
    }
    .project-card p {
        font-size: 0.9em;
    }
    .btn-project {
        font-size: 0.9em;
    }
    .btn-project-icon {
        font-size: 1.6em;
    }
    .call-to-action-explore {
        padding: 30px 20px;
    }
    .call-to-action-explore h2 {
        font-size: 1.8em;
    }
    .call-to-action-explore p {
        font-size: 0.95em;
    }
    .contact-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}