/* ===================== */
/* GLOBAL STYLES */
/* ===================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #d3d3d3;
    --accent-color: #ffffff;
    --fade-duration: 1s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "proxima-nova", sans-serif;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 1;
    -webkit-transition: opacity 300ms ease;
    transition: opacity 300ms ease;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overflow: auto;
}

h1,
h2 {
    color: var(--accent-color)
}

/* ===================== */
/* NAVIGATION BAR */
/* ===================== */

.navbar {
    background-color: var(--primary-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--accent-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-icons {
    display: flex;
    gap: 10px;
}

.nav-icon-large {
    font-size: 50px;
    padding-right: 20px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}


.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

/* ===================== */
/* HERO SECTION */
/* ===================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%); */
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    max-width: 64%;
    height: auto;
    margin-bottom: 6rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== */
/* FEATURED SECTION */
/* ===================== */

.featured-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.featured-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: 2px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.featured-item {
    text-align: center;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: scale(1.05);
}

.featured-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.featured-item h3 {
    padding: 1rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* ===================== */
/* PORTFOLIO SECTION */
/* ===================== */

.portfolio-header {
    min-height: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    /* background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%); */
}

.portfolio-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.portfolio-header p {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.contact-header {
    min-height: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.contact-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.contact-header p {
    font-size: 1.3rem;
    color: var(--accent-color);
}

/* ===================== */
/* INSTAGRAM GALLERY */
/* ===================== */

.instagram-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    cursor: pointer;
    background-color: #1a1a1a;
    opacity: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* Fade-in animation for scroll */
.fade-in {
    animation: fadeIn var(--fade-duration) ease-out forwards !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== */
/* ABOUT PAGE */
/* ===================== */

.about-header {
    min-height: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.about-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* Annie Nicholls Image Section */
.annie-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
}

.annie-container {
    max-width: 500px;
    width: 100%;
}

.annie-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
    display: block;
}

.about-content {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.about-container {
    display: grid;
    gap: 3rem;
}

.about-text {
    padding: 2rem;
    /* background-color: #1a1a1a; */
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 1rem;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #cccccc;
}

.services-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===================== */
/* CONTACT SECTION */
/* ===================== */

.contact-section {
    max-width: 800px;
    margin: 1rem auto;
    padding: 3rem 2rem;
    text-align: center;
    /* background-color: #1a1a1a; */
    border-radius: 4px;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ===================== */
/* CTA SECTION */
/* ===================== */

.cta-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    text-align: center;
    /* background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%); */
    border-radius: 4px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.cta-section h3 {
    margin-bottom: 2rem;
}

/* ===================== */
/* FOOTER */
/* ===================== */

.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--accent-color);
    color: #888888;
}

.footer p {
    margin: 0;
    font-size: 0.95rem;
}

/* ===================== */
/* RESPONSIVE DESIGN */
/* ===================== */

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .featured-section h2,
    .portfolio-header h1,
    .contact-header h1,
    .about-header h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .about-text {
        padding: 1.5rem;
    }

    .about-text h2 {
        font-size: 1.4rem;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }

    .contact-section,
    .cta-section {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-menu {
        gap: 0.8rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero {
        min-height: 70vh;
    }

    .featured-section h2 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}