/* Stuff Company - Main Stylesheet (Kale Theme Recreation) */

/* ============================================
   Google Fonts Import
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Montserrat:wght@400;700&family=Raleway:wght@200&display=swap');

/* ============================================
   CSS Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #337ab7;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #23527c;
    text-decoration: underline;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ============================================
   Layout & Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    text-align: center;
    padding: 30px 0;
    background: #fff;
}

.site-logo {
    max-width: 300px;
    margin: 0 auto 20px;
}

.site-logo img {
    width: 100%;
    height: auto;
}

.tagline {
    font-family: 'Caveat', cursive;
    font-weight: 400;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 0;
}

.tagline-word {
    font-weight: 400;
    color: #333;
    transition: opacity 0.3s ease;
}

/* ============================================
   Navigation
   ============================================ */
.main-nav {
    background: #f8f8f8;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    padding: 10px 0;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.nav-list a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 5px;
    display: block;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    padding: 10px 0;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Featured Work Gallery (Homepage)
   ============================================ */
.featured-work {
    padding: 0 0 40px 0;
}

.featured-work h2 {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

/* Flip Card Styles */
.flip-card {
    perspective: 1000px;
    height: 120px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1.5s;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(360deg);
}

.flip-card-front {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-front a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-front img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.flip-card-front img.logo-peachtree {
    max-height: 90px;
}

.flip-card-front img.logo-fellini {
    max-height: 72px;
}

.flip-card-front img.logo-silly {
    max-height: 130px;
}

.flip-card-front img.logo-doitnow {
    max-height: 120px;
}

.flip-card-front img.logo-large {
    max-height: 125px;
}

/* ============================================
   Contact Form Section
   ============================================ */
.contact-section {
    background: #fff;
    padding: 60px 0;
    margin-top: 40px;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Caveat', cursive;
    text-transform: none;
    font-size: 2.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    text-align: center;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    border: 1px dashed #ccc;
    border-radius: 25px;
    background: #fafafa;
    transition: background-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    background: #e8e8e8;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    border-radius: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.3rem;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
}

/* ============================================
   Project Pages
   ============================================ */
.project-header {
    text-align: center;
    margin-bottom: 40px;
}

.project-header h1,
.featured-work-title {
    font-family: 'Caveat', cursive;
    text-transform: none;
    font-size: 2.5rem;
    text-align: center;
    font-weight: 700;
}

.project-logo {
    max-width: 400px;
    margin: 0 auto 30px;
}

.project-logo img {
    width: 100%;
    height: auto;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.project-hero {
    margin-bottom: 30px;
}

.project-hero img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* YouTube Video Embeds */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-section {
    margin-bottom: 40px;
}

.video-section h3 {
    margin-bottom: 20px;
}

/* External Link Button */
.external-link {
    display: inline-block;
    margin-top: 20px;
}

.external-link a {
    display: inline-block;
    padding: 15px 40px;
    background: #337ab7;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.external-link a:hover {
    background: #286090;
    text-decoration: none;
}

/* Image Galleries */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Book Mockup */
.book-mockup {
    text-align: center;
    margin: 30px 0;
}

.book-mockup img {
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: #333;
    color: #aaa;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: #337ab7;
}

.footer-credit {
    font-size: 0.9rem;
}

/* ============================================
   Back to Home Link
   ============================================ */
.back-link {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-link a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.py-1 { padding-top: 10px; padding-bottom: 10px; }
.py-2 { padding-top: 20px; padding-bottom: 20px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }
.py-4 { padding-top: 40px; padding-bottom: 40px; }
