/* Copyright 2025. armedialabs. All Rights Reserved. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Karla, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
}

/* Sidebar styles */
.sidebar {
    margin: 2rem;
    border-radius: 25px;
    position: fixed;
    width: 300px;
    height: calc(100vh - 4rem);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease;
    z-index: 100;
}

.profile-header{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-img {
    min-width: 120px;
    min-height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('images/abhijith_preman_profile.webp');
    background-position: center;
    background-size: cover;
}

.sidebar-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.sidebar-subtitle {
    text-align: center;
    font-size: 0.9rem;
}

.nav-links {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.nav-item {
    padding: 0.5rem 0;
    text-align: center;
    border-radius: 10px;
}

.nav-item:hover {
    background-color: #505050;
    font-weight: bold;
}

.footer {
    font-size: 0.8rem;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover{
    background-color: #505050;
}

/* Main content styles */
.main-content {
    margin-left: calc(300px + 2rem);
    padding: 2rem;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5eddf;
    border-radius: 25px;
    overflow: hidden;
}

.hero-text {
    padding: 2rem;
    flex: 1;
}

.hero-image {
    width: 720px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-self: flex-end;
}

.hero-image img{
    object-fit: cover;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 36px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.btn:hover {
    background-color: #333;
    transform: translateY(-3px);
}

.section {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border-radius: 25px;
}

.section-left{
    flex: 1;
}

.section-right{
    flex: 2;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    line-height: 36px;
}

.section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: #000;
}

.expertise-area h3 {
    margin-bottom: 1rem;
}

.expertise-list {
    padding-left: 1.5rem;
}

.expertise-list li {
    margin-bottom: 0.8rem;
}

.gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: grab;
    border-radius: 20px;
}

.gallery-row {
    display: flex;
    gap: 10px;
    white-space: nowrap;
    transform: translateX(0px);
}

.gallery-row img {
    height: 300px;
    width: auto;
    border-radius: 20px;
}

.videos-container {
    height: 300px;
}

/* Mobile menu */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    background-color: black;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: white;
    transition: all 0.3s ease;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 90;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 2rem 0 0;
    gap: 2rem;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    border-radius: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    color: #666;
}

.divider{
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider img{
    width: 240px;
}

.video-thumb {
    position: relative;
    display: inline-block;
}

.video-thumb:hover img {
    filter: brightness(50%);
}

.video-thumb::after {
    content: "";
    background: url('images/play.svg') no-repeat center;
    background-size: contain;
    width: 64px; /* Adjust size as needed */
    height: 64px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.video-thumb:hover::after {
    opacity: 1;
}

/* Media queries */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(calc(-100% - 2rem));
        margin: 0;
        height: 100vh;
        border-radius: 0 25px 25px 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
    }
    
    .hero-text {
        margin-top: 2rem;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 2px);
    }
    
    .hamburger.active span:nth-child(2) {
        transform: rotate(-45deg) translate(3px, -2px);
    }

    .overlay.active {
        display: block;
    }

    .section{
        flex-direction: column;
    }

    .videos-container {
        height: 120px;
    }

    .videos-row img {
        height: 120px;
    }

    .video-thumb::after {
        width: 32px; /* Adjust size as needed */
        height: 32px;
    }
}

#home, #about, #expertise, #why-work, #gallery, #videos, #contact, .sidebar, .stat-item{
    background-color: white;
}

body {
    background-color: whitesmoke;
}

.sidebar {
    background-color: black;
    color: white;
}

.sidebar a{
    color: white;
}