
/* Base Styles */
:root {
    --primary-color: #fbc2c4; /* Soft Pink */
    --secondary-color: #fdfcf0; /* Beige/Cream */
    --accent-color: #f8d7da;
    --text-color: #5a5a5a;
    --heading-color: #333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

ul {
    list-style: none;
}

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

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

/* Typography */
h1, h2, h3 {
    color: var(--heading-color);
    font-weight: 700;
}

/* Navigation */
#header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

#header.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    height: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(253, 252, 240, 0.8), rgba(253, 252, 240, 0.8)), 
                url('https://images.unsplash.com/photo-1494438639946-1ebd1d20bf85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: #f9a8ac;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(251, 194, 196, 0.4);
}

/* Section Common */
section {
    padding: 5rem 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
}

.profile-card {
    background-color: var(--white);
    border-radius: 20px;
}

.about-image {
    margin-bottom: 1.5rem;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 15px 15px 0 var(--secondary-color);
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center; /* Center the image within the frame */
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1rem;
}

.interests {
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    background-color: var(--secondary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Animal Look Test Section */
.test-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.upload-box {
    border: 2px dashed var(--primary-color);
    padding: 3rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.upload-box:hover {
    background-color: rgba(251, 194, 196, 0.1);
}

.upload-box p {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.result-bar {
    background-color: #eee;
    height: 20px;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.result-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 1s ease-out;
}

.result-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    transition: var(--transition);
}

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

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background-color: #f9a8ac;
}

/* Footer */
footer {
    background-color: var(--heading-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real app, I'd add a hamburger menu */
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image img {
        height: 250px;
        box-shadow: 10px 10px 0 var(--secondary-color);
    }
}
