/* --- Page Specific Styles: Interests --- */

/* OVERRIDE GLOBAL MAIN-CONTENT-AREA STYLES FOR THIS PAGE */

body{
    background-image: url('.//images//pahalgam.jpg'); /* <<< REPLACE WITH YOUR IMAGE PATH */
    background-repeat: repeat; /* This is the key property for repetition */
    background-size: auto;
    background-position: 0 0; /* Starts tiling from top-left */
    background-attachment: scroll; /* Image scrolls with content (default) */
    position: relative; /* Needed for the ::before overlay */
    z-index: 0; /* Ensure body is at the base layer */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--global-bg-image-opacity); /* This is the overlay */
    z-index: -1;
}

.main-content-area.interests-page {
    background-color: transparent; /* Remove the white background */
    box-shadow: none; /* Remove the shadow */
    border-radius: 0; /* Remove border radius */
    padding: 0; /* Remove inner padding so visual sections can span edge-to-edge within its max-width */
    margin-top: 50px; /* Add margin-top here if needed for spacing from header */
    margin-bottom: 0; /* Ensures no extra space before footer */
}

/* Adjust page-intro spacing as main-content-area padding is removed */
.interests-intro {
    padding: 0 100px; /* Re-add horizontal padding to intro */
    margin-bottom: 30px;
    text-align: left;
    max-width: 1200px; /* Match main-content-area's max-width for intro text */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box; /* Include padding in width */
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: var(--text-dark-grey);
    margin-top: 0;
    margin-bottom: 20px;
}

.interests-intro + .section-divider {
    margin-top: 20px;
    margin-bottom: 50px;
    width: 80%; /* Wider divider for intro */
}

.page-description {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-dark-grey);
    max-width: 100%;
    margin-top: 40px;
}

/* --- Interests Visual Sections Container --- */
.interests-full-sections {
    display: flex;
    flex-direction: column;
    gap: 10px; /* No gap between sections as they touch */
    margin-top: 0px; /* No margin-top here, intro handles spacing */
    margin-bottom: 0px; /* No margin-bottom here, footer margin handles spacing */
    overflow: hidden; /* Important for image transitions */
    /* We inherit max-width: 1200px and margin: 0 auto from main-content-area */
    border-radius: 28px; /* Apply border-radius here to the whole stack of sections */
    background-color: transparent; /* Give a solid background to the stack for contrast */
}

.interest-visual-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    padding: 40px; /* Inner padding for content */
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    text-decoration: none;
    color: beige; /* Text color over dark overlay */

    transition: transform 0.6s ease-out, filter 0.6s ease-out;
}

.interest-visual-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45); /* Dark overlay */
    z-index: 1;
    transition: background-color 0.3s ease-in-out;
}

.interest-visual-section:hover::before {
    background-color: rgba(0, 0, 0, 0.55); /* Lighter overlay on hover */
}

.interest-visual-section:hover {
    transform: scale(1.02); /* Slight zoom out effect */
    filter: brightness(1.1); /* Brighter background image on hover */
    cursor: pointer; /* Indicate clickable area */
    text-decoration: none;
}

.interest-content-overlay {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 20px;

    border-radius: 5px;
}

.interest-icon {
    font-size: 64px;
    color: white;
    margin-bottom: 20px;
}

.interest-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: white;
    margin-top: 0;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.interest-card-description {
    font-family: 'Roboto', sans-serif;
    font-size: 19px;
    line-height: 1.6;
    color: white;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    /* Adjust overall content padding if desired for wider screens */
    .interests-intro {
        padding: 0 50px;
    }
}

@media (max-width: 900px) {
    .main-content-area.interests-page {
        padding: 0; /* Ensure no padding on main container */
    }
    .interests-intro {
        padding: 0 30px; /* Adjust padding for intro text */
        margin-top: 30px; /* Add top margin for intro if no main-content-area padding */
    }
    .page-title {
        font-size: 45px;
    }
    .interests-intro + .section-divider {
        margin-top: 15px;
        margin-bottom: 40px;
        width: 90%;
    }
    .page-description {
        font-size: 18px;
    }
    .interest-visual-section {
        min-height: 350px;
        padding: 30px;
    }
    .interest-icon {
        font-size: 56px;
    }
    .interest-card-title {
        font-size: 32px;
    }
    .interest-card-description {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .interests-intro {
        padding: 0 20px; /* Adjust padding for intro text */
        margin-top: 20px;
    }
    .page-title {
        font-size: 38px;
    }
    .interest-visual-section {
        min-height: 300px;
        padding: 20px;
    }
    .interest-icon {
        font-size: 48px;
    }
    .interest-card-title {
        font-size: 28px;
    }
    .interest-card-description {
        font-size: 17px;
    }
}