/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #FF8C00;
    --primary-dark: #FF6600;
    --primary-light: #FFB347;
    --accent-color: #FF4500;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --bg-dark: #0a0a0a;
    --bg-light: #fafafa;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
}

.logo-container canvas {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 12px 28px;
    border-radius: 30px;
    color: var(--text-light);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.nav-link.cta-button::after {
    display: none;
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO SECTION WITH PHOTO COLLAGE ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Photo Collage Grid */
.hero-collage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.collage-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: subtleZoom 20s ease-in-out infinite alternate;
}

.collage-image:nth-child(1) {
    animation-delay: 0s;
}

.collage-image:nth-child(2) {
    animation-delay: 5s;
}

.collage-image:nth-child(3) {
    animation-delay: 10s;
}

.collage-image:nth-child(4) {
    animation-delay: 15s;
}

@keyframes subtleZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Responsive collage */
@media (max-width: 968px) {
    .hero-collage {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dark overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.75) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    backdrop-filter: blur(2px);
}

/* Orange gradient overlay for brand */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 140, 0, 0.2) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.title-main {
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
}

.title-sub {
    font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    font-weight: 300;
    color: var(--primary-light);
    letter-spacing: 10px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 3px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-hero {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.15rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
    transition: var(--transition);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cta-hero:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.8s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(18px); }
}

/* ===== SECTION STYLES ===== */
section {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 80px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background: #ffffff;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 70px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 14px 35px;
    background: transparent;
    border: 2px solid #ddd;
    color: var(--text-gray);
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    background: #f5f5f5;
}

.portfolio-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    color: var(--text-light);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

.portfolio-overlay p {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.9;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.logo-frame {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 69, 0, 0.05));
    padding: 60px;
    border-radius: 20px;
    border: 2px solid rgba(255, 140, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 140, 0, 0.2);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    box-shadow: 0 10px 35px rgba(255, 140, 0, 0.3);
}

.service-card.featured:hover {
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.4);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 18px;
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.service-card.featured .service-features li::before {
    color: rgba(255, 255, 255, 0.95);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--bg-dark);
    color: var(--text-light);
}

.testimonials .section-title,
.testimonials .section-subtitle {
    color: var(--text-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 45px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 45px 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.stars {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 25px;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-light);
    font-size: 1.05rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 70px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    min-width: 55px;
}

.contact-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-note {
    font-size: 0.95rem !important;
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.social-links a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
    box-shadow: 0 5px 18px rgba(255, 140, 0, 0.3);
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.5);
}

.contact-form {
    background: white;
    padding: 50px 45px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    position: relative;
    margin-bottom: 35px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1.05rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

.form-group label {
    position: absolute;
    left: 18px;
    top: 18px;
    color: var(--text-gray);
    pointer-events: none;
    transition: var(--transition);
    background: white;
    padding: 0 6px;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label {
    top: -12px;
    left: 14px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.15rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.5);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 70px 0 35px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    text-align: center;
}

.footer-logo canvas {
    display: block;
}

.footer-logo-img {
    width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 1.05rem;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 50px 45px;
    border-radius: 20px;
    max-width: 550px;
    position: relative;
    animation: modalAppear 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-content h3 {
    color: var(--primary-color);
    font-size: 2.3rem;
    margin-bottom: 18px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 85px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 50px 0;
        gap: 30px;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    section {
        padding: 80px 0;
    }

    .portfolio-grid {
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .title-main {
        font-size: 3rem;
    }

    .title-sub {
        font-size: 1.5rem;
        letter-spacing: 5px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .portfolio-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-form {
        padding: 35px 25px;
    }

    section {
        padding: 60px 0;
    }
}
