/* General Styles */
@font-face {
    font-family: 'Grotesk';
    src: url('cy-grotesk-key-regular.otf') format('opentype');
}

:root {
    --primary-color: #f65035;
    --secondary-color: #415250;
    --accent-color: #fffdfa;
}

.text-black {
    color: #000;
}

.hover-accent:hover {
    color: var(--secondary-color) !important;
}

/* Typography */
#main h1, #main h2, #main h3, #main h4, #main h5, #main h6 {
    font-family: "Grotesk", sans-serif;
    color: var(--primary-color);
}

#main h1 {
    font-size: 14vw;
    letter-spacing: -5px;
    line-height: 0.9;
}

@media screen and (min-width: 768px) {
    #main h1 {
        font-size: 6vw;
        letter-spacing: -5px;
        line-height: 0.9;
    }
}

#main h2 {
    font-size: 11vw;
    letter-spacing: -5px;
    line-height: 0.9;
}

@media screen and (min-width: 768px) {
    #main h2 {
        font-size: 4vw;
        letter-spacing: -5px;
        line-height: 0.9;
    }
}

/* Portfolio Section Styles */
.portfolio-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
    background-color: var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-family: "Grotesk", sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -1px;  /* Tighter tracking */
    line-height: 1.1;
}

@media screen and (min-width: 768px) {
    .section-title {
        font-size: 3.5rem;
        letter-spacing: px;
        line-height: 1.2;
    }
}

/* Specific Section Alignments */
.videography {
    text-align: left; /* Left-align for Videography */
}

.motion-graphics {
    text-align: right; /* Right-align for Motion Graphics */
}

.sound-design {
    text-align: left; /* Left-align for Sound Design */
}

.vimeo-container, .spotify-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.gif-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gif-container img {
    width: 100%;
    border-radius: 8px;
}

.spotify-container iframe {
    width: 100%;
    height: 100%;
}

/* Responsive Styles */
@media screen and (min-width: 768px) {
    .portfolio-container {
        padding: 50px;
    }
}

/* Section Specific Styling */
.videography iframe {
    max-height: 500px;
    margin-bottom: 30px;
}

.motion-graphics iframe {
    max-height: 500px;
    margin-bottom: 30px;
}

.sound-design .spotify-container iframe {
    max-height: 80px;
    margin-bottom: 20px;
}

/* Button Styles */
.explore-button {
    display: inline-block;
    margin-top: 20px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s, color 0.3s;
}

.explore-button:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

/* Footer Style */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}
