/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    background-color: #fff;
}

body {
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Venus Rising', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #333;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #2A0E3C; /* Royal Aubergine */
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    margin-top: 1.8rem;
    color: #5E28AD; /* Deep Violet */
    font-weight: bold;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

a {
    color: #5E28AD; /* Deep Violet */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #5E28AD; /* Deep Violet */
    transition: width 0.3s ease;
}

a:hover:after {
    width: 100%;
}

ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    text-align: left;
}

li {
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
}

/* Hero section with full-width image and white overlay */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* 70% white overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
}

.hero-section h1 {
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 600;
}

.cta-button {
    margin-top: 2rem;
}

.cta-button a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: #2A0E3C; /* Royal Aubergine */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button a:hover {
    background-color: #5E28AD; /* Deep Violet */
}

.cta-button a:after {
    display: none;
}

/* About section with single animated image */
.about-section {
    background-color: #fff;
    padding: 6rem 0;
}

.split-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.content-side {
    flex: 1;
    text-align: center;
}

.content-side.text-right {
    text-align: right;
}

.content-side.text-left {
    text-align: left;
}

.image-side {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container.animated:hover img {
    transform: scale(1.05);
}

/* Expertise section as white text slider */
.expertise-section {
    background-color: #2A0E3C; /* Royal Aubergine */
    color: #fff;
    padding: 6rem 0;
}

.expertise-section h2,
.expertise-section h3,
.expertise-section p {
    color: #fff;
}

.statement-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 3rem 0;
}

.statement-track {
    display: flex;
    transition: transform 0.5s ease;
}

.statement-slide {
    min-width: 100%;
    padding: 0 2rem;
    text-align: center;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.5rem;
}

.slider-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.slider-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Projects section with alternating layouts */
.project-item {
    padding: 6rem 0;
}

.project-item.dark {
    background-color: #2A0E3C; /* Royal Aubergine */
    color: #fff;
}

.project-item.dark h3,
.project-item.dark h4,
.project-item.dark p,
.project-item.dark li {
    color: #fff;
}

.project-item.medium {
    background-color: #EAE6FA; /* Soft Lavender */
    color: #fff;
}



.project-item.light {
    background-color: #fff;
}

.multi-image-container {
    position: relative;
    height: 400px;
    width: 100%;
}

.multi-image {
    position: absolute;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.multi-image:hover {
    transform: translateY(-10px);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.multi-image.image-1 {
    top: 0;
    right: 10%;
    width: 60%;
    height: 250px;
    z-index: 3;
}

.multi-image.image-2 {
    top: 100px;
    left: 0;
    width: 50%;
    height: 200px;
    z-index: 2;
}

.multi-image.image-3 {
    top: 180px;
    right: 0;
    width: 45%;
    height: 180px;
    z-index: 1;
}

/* Education & Skills section as slider */
.education-skills-section {
    background-color: #EAE6FA; /* Soft Lavender */
    padding: 6rem 0;
}

.education-skills-section .statement-slide {
    text-align: center;
}

.education-skills-section .statement-slide ul {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}

/* Contact section */
footer {
    background-color: #2A0E3C; /* Royal Aubergine */
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

footer h2 {
    color: #fff;
    margin-bottom: 2rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item p {
    margin: 0;
    text-align: center;
}

.contact-details a {
    color: #fff;
}

.contact-details a:hover {
    opacity: 0.8;
}

.contact-details a:after {
    background-color: #fff;
}

.copyright {
    margin-top: 4rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animation classes */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .split-layout, .split-layout.reverse {
        flex-direction: column;
        gap: 3rem;
    }
    
    .image-side {
        width: 100%;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .multi-image-container {
        height: 500px;
    }
    
    .multi-image.image-1,
    .multi-image.image-2,
    .multi-image.image-3 {
        position: relative;
        width: 80%;
        margin: 1rem auto;
        top: auto;
        left: auto;
        right: auto;
    }
    
    .content-side.text-right,
    .content-side.text-left {
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .tagline {
        font-size: 1rem;
    }
}


/* Custom Adjustments */
.hero-content {
    text-align: left;
    padding: 2rem;
    background-color: #5E28AD;
    color: #eee;
    max-width: 500px;
    margin-top: 2rem;
}

.hero-content h1, .hero-content p {
    color: #eee;
}

/* Light text on violet background */
.violet-bg, .violet-bg * {
    color: #eee;
}

/* Lighter grey text on white */
body, p, li, .container, .about-section {
    color: #666;
}


/* Smaller image in About section */
.about-section .image-side img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Slightly smaller global font size */
html {
    font-size: 15px;
}

p, li {
    font-size: 0.95rem;
}


/* Full-width violet background for highlight sections */
.violet-bg {
    background-color: #2A0E3C;
    color: #eee;
}
.full-width-bg {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 2rem;
    padding-right: 2rem;
}


/* Footer contact row layout */
.footer-contacts .contact-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}
