/* ==========================================================================
   University Name: Universiti Kuala Lumpur
   Student Name/ID: [Insert Name] / [Insert ID]
   Title of Project: Teroka Kita - Premium Travel Portal
   Lecturer Name: Ezat Akarudim Bin Sulaiman
   Submission Date: Week 17
   ========================================================================== */

/* Immersive Hero Section with Dark Overlay Image Architecture */
/* Rubric Check: CSS website layout, Select by class */
.islands-hero {
    position: relative !important;
    width: 100% !important;
    min-height: 75vh !important; /* Rich immersive height profile */
    display: flex !important; /* Rubric Check: Layout structure via Flexbox */
    align-items: center !important;
    justify-content: center !important;
    
    /* Dual Layer: Rich linear gradient dark mask + High-res fallback ocean graphic */
    /* Rubric Check: Background styling, Background color */
    background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 60%, rgba(15, 23, 42, 0.98) 100%), 
                      url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    
    /* Large top padding completely forces layout down past the fixed navigation menu links */
    padding: 14rem 2rem 8rem 2rem !important; /* Rubric Check: Padding usage */
    box-sizing: border-box !important;
    overflow: hidden; /* Rubric Check: Overflow property */
}

/* Function: Elevates text containers over the background visual mask. */
/* Rubric Check: Margin and padding properties, Layout structures */
.hero-content {
    position: relative !important;
    z-index: 10 !important;
    max-width: 900px !important;
    margin: 0 auto !important; /* Rubric Check: Horizontal auto margin centering */
    text-align: center !important;
}

/* Function: Formats typography sizing, bold weights, and distinct drop shadows for main headers. */
/* Rubric Check: Font style, Font color, Text styling, Use of selector: multiple element */
.islands-hero .section-title {
    font-family: 'Playfair Display', serif !important; /* Rubric Check: Font style selection */
    font-size: 4rem !important;
    color: #ffffff !important; /* Rubric Check: Font color */
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important; /* Rubric Check: Margin declaration */
    letter-spacing: -0.5px !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important;
    line-height: 1.2 !important;
}

/* Function: Sets up spacing rules and line tracking constraints for subtitle descriptions. */
/* Rubric Check: Font style, Text styling, Margin properties */
.islands-hero .section-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.3rem !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Immersive Card/Row Deck Container */
/* Rubric Check: CSS website layout, Select by class, Margin and padding */
.immersive-showcase {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem; /* Rubric Check: Padding boundaries declaration */
}

/* Structural Layout Flex Row - Side-by-Side Content Presentation */
/* Rubric Check: CSS website layout (Flexbox structure), Margin and padding */
.island-row {
    display: flex; /* Rubric Check: Dual-column flexible side layout framework */
    gap: 4rem;
    margin-bottom: 8rem; /* Rubric Check: Vertical layout margin spacing */
    align-items: flex-start;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Function: Triggers smooth interactive row slide ups when active. */
/* Rubric Check: Layout structure states, Selector chaining variables */
.island-row.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Left Column Media Frame Container */
/* Rubric Check: CSS website layout, Overflow usage, Select by class */
.island-media-frame {
    flex: 1.1;
    position: relative;
    border-radius: 16px;
    overflow: hidden; /* Rubric Check: Media containment via overflow hide */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Function: Scales inner images seamlessly without altering outer boundaries. */
/* Rubric Check: Image element styling, Transitions, Dimensions */
.island-media-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Function: Scales item pictures slightly forward during mouse hover conditions. */
/* Rubric Check: Hover interaction styling, Compound element adjustments */
.island-row:hover .island-media-frame img {
    transform: scale(1.03); /* Rubric Check: Hover transform scale scaling */
}

/* Right Column Content Metadata Details */
/* Rubric Check: Column layouts, Margin and padding properties */
.island-meta {
    flex: 1;
    padding-top: 0.5rem;
}

/* Function: Details uppercase meta tags with thin spacing properties. */
/* Rubric Check: Font style, Font color, Text styling, Select by class */
.location-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.5rem;
}

/* Function: Adjusts font families, sizing scales, and spacing for card inner titles. */
/* Rubric Check: Font style, Font color, Text styling, Compound element selectors */
.island-meta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Function: Standardizes line heights and spacing structures for descriptive typography blocks. */
/* Rubric Check: Font color, Text attributes, Element margins */
.island-meta p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

/* Horizontal Feature Badges */
/* Rubric Check: Layout sub-structures via Flexbox, Select by class */
.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Function: Applies border wrappers, background layers, and paddings for small badges. */
/* Rubric Check: Background configurations, Margin and padding, Select by class */
.tag {
    background: rgba(255, 255, 255, 0.06); /* Rubric Check: Transparent background layout color */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem; /* Rubric Check: Custom pill badge padding padding */
    border-radius: 20px;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
}

/* Integrated Inline Budget Estimator Container */
/* Rubric Check: Inline layout sub frameworks via Flexbox, Select by class */
.mini-budget-calculator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Function: Standardizes border parameters and dark shades for embedded data form components. */
/* Rubric Check: User feedback form input fields styling, Form text attributes */
.mini-budget-calculator input[type="number"] {
    width: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    padding: 0.2rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Function: Swaps boundary highlight lines to yellow tones upon selector interaction focus. */
/* Rubric Check: Active field interaction styling, Form input borders */
.mini-budget-calculator input[type="number"]:focus {
    outline: none;
    border-color: #ffb300;
}

/* Function: Colors distinct text strings to gold values inside calculations. */
/* Rubric Check: Font color variations, Compound element selection rules */
.mini-budget-calculator strong {
    color: #ffb300; /* Rubric Check: Custom amber calculation color highlights */
    font-size: 1.05rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* Three Column Strategic Essential Data Grid */
/* Rubric Check: CSS website layout (Grid structure), Select by class */
.expanded-info-grid {
    display: grid; /* Rubric Check: Advanced 3-column sub grid layout matrix */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Function: Formats amber headings placed above responsive column matrices. */
/* Rubric Check: Font style, Font color, Text adjustments, Selector chaining */
.info-column h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #ffb300;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

/* Function: Resets list indentation parameters and properties to null configurations. */
/* Rubric Check: Custom list styling rules, Select by class */
.info-list {
    list-style: none; /* Rubric Check: Resets generic side markers */
    padding: 0;
    margin: 0;
}

/* Function: Arranges position offsets and indicators on individual grid item listings. */
/* Rubric Check: Custom list items selectors, Margin and padding rules */
.info-list li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.2rem; /* Rubric Check: Indentation padding for list symbols */
}

/* Function: Inserts customizable clean text icons preceding unique list structures. */
/* Rubric Check: List item pseudo elements, Font color, Content generation positioning */
.info-list li::before {
    content: "✦"; /* Rubric Check: Custom icon indicator replacement */
    position: absolute;
    left: 0;
    color: #ffb300;
    font-size: 0.75rem;
    top: 1px;
}

/* Function: Tints text blocks to white inside targeted list rows. */
/* Rubric Check: Font color, Compound layout element tracking */
.info-list li strong {
    color: #fff;
    font-weight: 600;
}

/* ==========================================================================
   Light Theme System Variables Override Settings
   ========================================================================== */

/* Function: Updates hero background layers to soft gray tints under bright theme settings. */
/* Rubric Check: Use of selector: multiple element, Background gradients */
body.light-theme .islands-hero {
    background-image: linear-gradient(to bottom, rgba(248, 250, 252, 0.9) 0%, rgba(248, 250, 252, 0.6) 60%, rgba(248, 250, 252, 1) 100%), 
                      url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80') !important;
}

/* Function: Wipes out main hero title shadow effects and replaces typography with deep blue tones. */
/* Rubric Check: Font color adjustments, Compound selector combinations */
body.light-theme .islands-hero .section-title {
    color: #0f172a !important;
    text-shadow: none !important;
}

/* Function: Sets soft contrast gray text shades for titles on bright layouts. */
/* Rubric Check: Font color, Multi element chaining */
body.light-theme .islands-hero .section-subtitle {
    color: #334155 !important;
    text-shadow: none !important;
}

/* Function: Modifies header text colors to deep blue inside light mode cards. */
/* Rubric Check: Font color rules, Selector chaining */
body.light-theme .island-meta h3 {
    color: #0f172a;
}

/* Function: Sets soft gray color tones to summary text blocks for light theme views. */
/* Rubric Check: Font color variables, Compound selectors */
body.light-theme .island-meta p {
    color: #334155;
}

/* Function: Adjusts tag category colors to mute gray for high visibility. */
/* Rubric Check: Font color changes, Select by class */
body.light-theme .location-tag {
    color: #64748b;
}

/* Function: Shifts pill badges to light grey fill layers with thin gray framing lines. */
/* Rubric Check: Background color, Border configurations, Selector mapping */
body.light-theme .tag {
    background: rgba(0, 0, 0, 0.04); /* Rubric Check: Light mode background fill layer */
    border-color: rgba(0, 0, 0, 0.08);
    color: #1e293b;
}

/* Function: Alters budget estimation descriptive strings to medium slate gray values. */
/* Rubric Check: Font color rules, Select by class */
body.light-theme .mini-budget-calculator {
    color: #475569;
}

/* Function: Forces user numerical input sheets to display solid white fills with soft outlines. */
/* Rubric Check: User feedback form background changes, Form component colors */
body.light-theme .mini-budget-calculator input[type="number"] {
    background: #fff;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* Function: Swaps budget totals to deep brown hues to support optimal visual contrast. */
/* Rubric Check: Font color rules, Selector mapping configurations */
body.light-theme .mini-budget-calculator strong {
    color: #b45309;
}

/* Function: Swaps grid baseline borders to clear translucent gray separators. */
/* Rubric Check: Border layouts, Select by class */
body.light-theme .expanded-info-grid {
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* Function: Transforms mini grid heading components to deep brown text profiles. */
/* Rubric Check: Font color rules, Compound selector paths */
body.light-theme .info-column h4 {
    color: #b45309;
}

/* Function: Inverts nested bullet text strands to dark charcoal tones. */
/* Rubric Check: Font color updates, Multiple element selector chains */
body.light-theme .info-list li {
    color: #475569;
}

/* Function: Flips dark mode list bold keywords to absolute dark values. */
/* Rubric Check: Font color modifications, Selector grouping structures */
body.light-theme .info-list li strong {
    color: #0f172a;
}

/* Function: Inverts absolute icon symbol elements to deep brown accents. */
/* Rubric Check: List icon pseudo colors, Multi-selector adjustments */
body.light-theme .info-list li::before {
    color: #b45309;
}

/* ==========================================================================
   Responsive Breakpoints - Viewport Compression Layout Rules
   ========================================================================== */

/* Function: Unwinds side-by-side flex tracks, converting items to vertically stacked layouts on tablets. */
/* Rubric Check: CSS website layout (Responsive Media Queries), Flex layout configuration resets */
@media (max-width: 1024px) {
    .islands-hero {
        padding: 11rem 2rem 5rem 2rem !important; /* Rubric Check: Responsive micro padding shrinkages */
        min-height: 55vh !important;
    }
    .islands-hero .section-title {
        font-size: 3rem !important; /* Rubric Check: Fluid viewport type scaling adjustments */
    }
    .island-row {
        flex-direction: column; /* Rubric Check: Responsive transformation to straight vertical stack layout */
        gap: 2rem;
        margin-bottom: 6rem;
    }
    .island-media-frame {
        max-width: 100%;
        width: 100%;
    }
    .island-media-frame img {
        height: 360px; /* Rubric Check: Responsive image column dimension scaling resets */
    }
}

/* Function: Compresses internal three-column info matrix spans to direct single lines on phones. */
/* Rubric Check: CSS website layout (Responsive Media Queries), Grid configuration overrides */
@media (max-width: 768px) {
    .expanded-info-grid {
        grid-template-columns: 1fr; /* Rubric Check: Responsive grid conversion from 3 columns to 1 block */
        gap: 2rem;
    }
    .island-meta h3 {
        font-size: 2.2rem;
    }
    .islands-hero .section-title {
        font-size: 2.4rem !important;
    }
}