/* ====================================
   ABOUT PAGE STYLES
   Complete stylesheet for the About Me page
   including carousel functionality
   ==================================== */

/* ====================================
   PAGE HEADER SECTION
   Styles for the main page title and intro
   ==================================== */

.about-header {
    margin-bottom: 50px;
}

.page-title {
    font-size: 2.5em;
    font-weight: 300;
    margin-bottom: 10px;
    color: #ffffff;
}

.intro-paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    color: #d1d9ff;
    margin-top: 20px;
}

/* ====================================
   LEFT COLUMN - CONNECT SECTION
   Call-to-action area for visitor engagement
   ==================================== */

.connect-section {
    background: rgba(168, 181, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
    border: 1px solid rgba(168, 181, 255, 0.3);
}

.connect-section h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.connect-section p {
    color: #d1d9ff;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Contact buttons container */
.connect-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual contact button styling */
.connect-button {
    background: rgba(168, 181, 255, 0.2);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    border: 1px solid rgba(168, 181, 255, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9em;
}

/* Contact button hover effects */
.connect-button:hover {
    background: rgba(168, 181, 255, 0.3);
    transform: translateY(-2px);
}

/* ====================================
   RIGHT COLUMN - ABOUT CONTENT
   Main content area styles
   ==================================== */

.about-content {
    display: grid;
    gap: 50px;
}

/* General about section card styling */
.about-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border-left: 4px solid #a8b5ff;
}

/* ====================================
   STORY SECTION WITH CAROUSEL
   Personal story section including image carousel
   ==================================== */

.story-content p {
    color: #d1d9ff;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Main carousel container */
.story-carousel {
    position: relative;
    max-width: 600px;
    margin: 30px auto 0;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(168, 181, 255, 0.3);
}

/* Container for all carousel slides */
.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
}

/* Individual slide styling */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
}

/* Active slide visibility */
.carousel-slide.active {
    opacity: 1;
}

/* Carousel image styling */
.carousel-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
}

/* Image caption styling */
.slide-caption {
    padding: 15px 20px;
    background: rgba(30, 60, 114, 0.9);
    color: #e1e7ff;
    text-align: center;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation button base styling */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 60, 114, 0.8);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
    z-index: 10;
}

/* Navigation button hover effects */
.carousel-btn:hover {
    background: rgba(168, 181, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Previous button positioning */
.prev-btn {
    left: 15px;
}

/* Next button positioning */
.next-btn {
    right: 15px;
}

/* Slide indicators container */
.carousel-indicators {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* Individual indicator dot styling */
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Active indicator styling */
.indicator.active {
    background: #a8b5ff;
    transform: scale(1.2);
}

/* Indicator hover effects */
.indicator:hover {
    background: #ffffff;
}

/* ====================================
   MOTIVATION SECTION
   What drives me - values and motivations
   ==================================== */

/* Grid layout for motivation cards */
.motivation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

/* Individual motivation card styling */
.motivation-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Motivation card hover effects */
.motivation-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

/* Motivation card icon styling */
.motivation-icon {
    font-size: 2em;
    color: #a8b5ff;
    margin-bottom: 15px;
}

/* Motivation card heading */
.motivation-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

/* Motivation card description text */
.motivation-card p {
    color: #d1d9ff;
    line-height: 1.6;
}

/* ====================================
   APPROACH SECTION
   Professional methodology and principles
   ==================================== */

.approach-content p {
    color: #d1d9ff;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Container for principles list */
.principles-list {
    display: grid;
    gap: 15px;
}

/* Individual principle item */
.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #d1d9ff;
}

/* Principle item icon */
.principle-item i {
    color: #a8b5ff;
    margin-top: 5px;
}

/* ====================================
   PERSONAL & FUTURE CONTENT
   Additional content sections with image support
   ==================================== */

.personal-content p, 
.future-content p {
    color: #d1d9ff;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Personal image styling for Beyond Code section */
.personal-image {
    float: right;
    max-width: 300px;
    margin: 0 0 20px 30px;
    text-align: center;
}

.personal-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(168, 181, 255, 0.3);
}

.personal-image .image-caption {
    font-size: 0.8em;
    color: #b8c5ff;
    margin-top: 8px;
    font-style: italic;
}

/* ====================================
   RESPONSIVE DESIGN
   Mobile and tablet adaptations
   ==================================== */

/* Tablet and mobile breakpoint */
@media (max-width: 768px) {
    /* Switch to single column layout on mobile */
    .container {
        grid-template-columns: 1fr;
    }
    
    /* Motivation grid adjustments for mobile */
    .motivation-grid {
        grid-template-columns: 1fr;
    }
    
    /* Connect buttons remain stacked on mobile */
    .connect-buttons {
        gap: 10px;
    }
    
    /* Smaller connect section padding on mobile */
    .connect-section {
        padding: 20px;
        margin-top: 25px;
    }
    
    /* Mobile carousel adjustments */
    .story-carousel {
        max-width: 100%;
        margin: 25px 0 0;
    }
    
    /* Reduce carousel height on mobile */
    .carousel-container {
        height: 350px;
    }
    
    /* Adjust image height for mobile */
    .carousel-slide img {
        height: 300px;
    }
    
    /* Smaller navigation buttons on mobile */
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
    
    /* Adjust button positioning for mobile */
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    /* Smaller caption text on mobile */
    .slide-caption {
        font-size: 0.8em;
        padding: 12px 15px;
    }
    
    /* Personal image mobile adjustments */
    .personal-image {
        float: none;
        max-width: 100%;
        margin: 0 0 20px 0;
    }
    
    .personal-image img {
        height: 180px;
    }
}