/* 
 * JeyamFlash Photography - Style
 */

:root {
    /* Color Palette - Premium Dark Theme */
    --bg-color: #0a0a0a;
    --bg-color-alt: #111111;
    --bg-color-glass: rgba(10, 10, 10, 0.8);
    --text-color: #e0e0e0;
    --text-color-muted: #a0a0a0;
    
    /* Brand Colors */
    --primary-color: #d4af37; /* Gold */
    --primary-color-hover: #f1c40f;
    --secondary-color: #2c2c2c;
    --secondary-color-hover: #3c3c3c;
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;
    
    /* Borders & Shadows */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Ensure anchored sections aren't hidden behind the fixed navbar */
html {
    /* Adjust this value if your navbar height changes */
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor for custom cursor */
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-darker {
    background-color: var(--bg-color-alt);
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.w-100 {
    width: 100%;
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    transition: width 0.2s, height 0.2s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Ensure navbar remains on top of any page content */
.navbar,
.nav-links,
.nav-links li a.btn-primary-outline {
    position: relative;
    z-index: 100001;
}

/* Typography Utilities */
.highlight {
    color: var(--primary-color);
}

.highlight-text {
    font-style: italic;
    color: var(--primary-color);
}

.section-title {
    margin-bottom: 3rem;
}

.section-title .sub-title {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    outline: none;
    text-transform: uppercase;
    font-family: var(--font-primary);
}

.btn i {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-color-hover);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary-outline {
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    position: relative;
    z-index: 1002;
    pointer-events: auto;
    white-space: nowrap;
}

.btn-primary-outline:hover {
    
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 99999;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background-color: var(--bg-color-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-logo {
    height: 64px;
    width: auto;
    display: block;
}

.logo-text {
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1001;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links li a:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-links li a:not(.btn-primary-outline):hover::after,
.nav-links li a.active:not(.btn-primary-outline)::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.menu-btn-burger {
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition-fast);
}

.menu-btn-burger::before,
.menu-btn-burger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: var(--transition-fast);
}

.menu-btn-burger::before {
    top: -8px;
}

.menu-btn-burger::after {
    top: 8px;
}

.menu-btn.open .menu-btn-burger {
    background-color: transparent;
}

.menu-btn.open .menu-btn-burger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-btn.open .menu-btn-burger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(10, 10, 10, 0.9)), url('Jeyamcover.jpg') center/cover no-repeat;
    z-index: -1;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero.loaded .hero-bg {
    transform: scale(1);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero .subtitle {
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    display: block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Scroll Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary-color);
    color: #000;
    padding: 30px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--box-shadow);
    z-index: 2;
}

.experience-badge .number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.about-content .main-p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
    font-style: italic;
}

.about-content p {
    margin-bottom: 2rem;
    color: var(--text-color-muted);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: rgba(212, 175, 55, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-bottom: 5px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.filter-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    color: #fff;
}

.filter-btn:hover::after, .filter-btn.active::after {
    width: 80%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.portfolio-info {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

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

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.portfolio-info span {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.view-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover .view-btn {
    transform: scale(1);
    transition-delay: 0.1s;
}

.view-btn:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Category-style cards on homepage */
.portfolio-item.category-card {
    border-radius: 18px;
    aspect-ratio: 3/4;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.portfolio-item.category-card .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.portfolio-item.category-card .portfolio-info h3 {
    font-size: 2rem;
    color: #fff;
    font-weight: 800;
    text-transform: capitalize;
    text-shadow: 0 8px 24px rgba(0,0,0,0.7);
    margin: 0;
}

.portfolio-item.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 60px rgba(0,0,0,0.7);
}

/* Grid adjustments for wider screens to match the sample layout */
@media (min-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 34px;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-color-alt);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    border: var(--glass-border);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color-muted);
    margin-bottom: 2rem;
}

.service-link {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.service-link i {
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius-lg);
    border: var(--glass-border);
    overflow: hidden;
    /* Make sure the contact section is visible when navigated to via #contact */
    scroll-margin-top: 90px;
}

.contact-info {
    padding: 60px;
}

.contact-info > p {
    color: var(--text-color-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 3rem;
}

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

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.contact-item h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-color-muted);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #000;
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background-color: var(--secondary-color);
    padding: 60px;
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Footer */
footer {
    background-color: #050505;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-widget p {
    color: var(--text-color-muted);
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-widget h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.links-widget ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-widget a {
    color: var(--text-color-muted);
}

.links-widget a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-widget p {
    color: var(--text-color-muted);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #fff;
    font-family: var(--font-primary);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #000;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-content p {
    color: var(--text-color-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-color-muted);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .experience-badge {
        bottom: -20px;
        right: 0;
        width: 120px;
        height: 120px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--bg-color-alt);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 2000;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .contact-info, .contact-form-wrapper {
        padding: 40px 20px;
    }
    
    .cursor-dot, .cursor-outline {
        display: none; /* Hide custom cursor on mobile */
    }
    
    body {
        cursor: auto;
    }
}

@media screen and (max-width: 576px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
