/* Phone Mockup Styles */
:root {
    --phone-width: 280px;
    --phone-height: 580px;
    --phone-border-radius: 40px;
    --phone-border-color: black;
    --phone-border-width: 7px;
    --phone-screen-bg: #111;
    --camera-hole-size: 15px;
    --camera-hole-top: 10px;
}

/* Phone Mockup Container */
.phone-mockup-container {
    position: relative;
    width: var(--phone-width);
    height: var(--phone-height);
    margin: 20px auto;
    perspective: 1000px;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--phone-border-radius);
    border: var(--phone-border-width) solid var(--phone-border-color);
    background-color: var(--phone-screen-bg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 
        0 0 0 3px rgba(255, 255, 255, 0.1),
        0 0 0 5px rgba(255, 255, 255, 0.05),
        0 15px 25px rgba(0, 0, 0, 0.2);
}

/* Hover effects */
.phone-mockup:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        0 25px 35px rgba(0, 0, 0, 0.3);
}

/* Camera Hole */
.camera-hole {
    position: absolute;
    width: var(--camera-hole-size);
    height: var(--camera-hole-size);
    border-radius: 50%;
    background-color: var(--phone-border-color);
    top: var(--camera-hole-top);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Phone Screen */
.phone-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--phone-border-radius) - var(--phone-border-width));
    overflow: hidden;
    background-color: #fff; /* Default background if no images */
}

/* Screen Slider */
.screen-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slides */
.screen-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    object-fit: cover;
}

.screen-slider .slide.active {
    opacity: 1;
}

/* Project Card for Example */
.project-card {
    display: flex;
    flex-direction: column;
    max-width: 320px;
    margin: 0 auto;
    background-color: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
}

.project-info p {
    color: #666;
    line-height: 1.5;
}

/* Example usage styling */
.example-usage {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.example-usage h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    :root {
        --phone-width: 240px;
        --phone-height: 500px;
        --phone-border-radius: 30px;
        --phone-border-width: 10px;
        --camera-hole-size: 10px;
    }
}

@media (max-width: 480px) {
    :root {
        --phone-width: 220px;
        --phone-height: 450px;
        --phone-border-radius: 25px;
        --phone-border-width: 8px;
        --camera-hole-size: 8px;
    }
} 