/* Base styles shared across all pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo h2 {
    color: #000000;
    font-weight: 700;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.logo a:hover h2 {
    color: #eaaa0e;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: #eaaa0e;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #eaaa0e;
    background: rgba(234, 170, 14, 0.08);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #eaaa0e 0%, #d29a0c 100%);
    box-shadow: 0 4px 12px rgba(234, 170, 14, 0.3);
}

.nav-link.active::before {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Page header */
.page-header {
    position: relative;
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-header-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    z-index: 0;
}

.page-header-background-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Portfolio specific styles */
.portfolio {
    padding: 80px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #000000;
    color: #000000;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #000000;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    color: #000000;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.portfolio-info p {
    color: #666;
    margin-bottom: 15px;
}

.project-type {
    background: #eaaa0e;
    color: #000000;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Instagram Reel Section */
.instagram-reel-section {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.instagram-reel-section h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 10px;
}

.instagram-reel-section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.reel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.reel-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
    gap: 40px;
}

.reel-item {
    width: 100%;
}

.reel-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.reel-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reel-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.reel-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reel-wrapper:hover .reel-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.instagram-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-size: 0.9rem;
}

.ig-logo {
    width: 20px;
    height: 20px;
}

.instagram-follow {
    margin-top: 20px;
}

.follow-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
}

.follow-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

.ig-logo-btn {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Testimonials */
.project-testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.project-testimonials h2 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.client-info strong {
    color: #000000;
    display: block;
    margin-bottom: 5px;
}

.client-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Work CTA */
.work-cta {
    padding: 80px 0;
    background: #000000;
    color: white;
    text-align: center;
}

.work-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.work-cta p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: #eaaa0e;
    color: #000000;
}

.cta-button.primary:hover {
    background: #d29a0c;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #000000;
}

/* Footer */
.footer {
    background: #100e0a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 150px repeat(3, 1fr) 150px;
    gap: 40px;
    align-items: start;
}

.footer-logo-left,
.footer-logo-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 180px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #eaaa0e;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #eaaa0e;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid #000000;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }

    .reel-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .instagram-reel-section h2 {
        font-size: 2rem;
    }

    .instagram-reel-section p {
        font-size: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .project-testimonials h2,
    .work-cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 200px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo-left,
    .footer-logo-right {
        display: none;
    }
}
