/* Modern Art Nouveau Texas Heelers Website */

:root {
    --primary-color: #1a3a4a;
    --secondary-color: #0f2833;
    --accent-color: #cd853f;
    --light-copper: #f4e8d8;
    --deep-copper: #9c4a20;
    --text-dark: #2f2f2f;
    --text-light: #f5f5dc;
    --background-light: #f8f9fa;
    --background-alt: #e8eaed;
    --border-color: #b8732d;
}

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

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Art Nouveau Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.main-title {
    font-size: 4rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-style: italic;
    font-size: 1.5rem;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* Art Nouveau Decorative Elements */
.decorative-border {
    width: 300px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 2rem auto;
    position: relative;
}

.decorative-border::before,
.decorative-border::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--accent-color) 30%, transparent 30%);
    top: -8px;
}

.decorative-border::before {
    left: -10px;
}

.decorative-border::after {
    right: -10px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-alt) 50%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(44, 85, 48, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

/* Navigation */
.navigation {
    background: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.navigation a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navigation a:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Container and Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
    position: relative;
}

.alt-section {
    background: var(--deep-copper);
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

/* Content Wrapper with Art Nouveau styling */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.text-content {
    font-size: 1.2rem;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.decorative-element {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-color) 2px, transparent 2px);
    background-size: 20px 20px;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Characteristics Grid */
.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.characteristic-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
}

.characteristic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.characteristic-card:hover::before {
    opacity: 0.1;
}

.characteristic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.characteristic-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

/* Care Content */
.care-content {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.care-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.care-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.care-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

/* Quiz Styles */
.quiz-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-style: italic;
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-progress {
    margin-bottom: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--border-color));
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.quiz-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.05;
}

.question-container h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 1rem;
    text-align: center;
}

.options {
    display: grid;
    gap: 1rem;
}

.options label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.options label:hover {
    border-color: var(--accent-color);
    background: rgba(205, 133, 63, 0.1);
    transform: translateX(5px);
}

.options input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.2);
    accent-color: var(--accent-color);
}

.options label input[type="radio"]:checked + span,
.options label:has(input[type="radio"]:checked) {
    border-color: var(--accent-color);
    background: rgba(205, 133, 63, 0.2);
    font-weight: 600;
    color: var(--primary-color);
}

.quiz-navigation {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.nav-btn, .submit-btn, #retake-quiz {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

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

.nav-btn:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 58, 74, 0.3);
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--border-color));
    color: white;
    margin: 0 auto;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(205, 133, 63, 0.3);
}

.submit-btn.hidden {
    display: none;
}

#retake-quiz {
    background: var(--primary-color);
    color: white;
}

#retake-quiz:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 58, 74, 0.3);
}

.quiz-results {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-top: 2rem;
    text-align: center;
    border: 3px solid var(--accent-color);
}

.quiz-results.hidden {
    display: none;
}

.quiz-results h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-color) 0%, var(--accent-color) var(--score-percentage, 0%), #e0e0e0 var(--score-percentage, 0%));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s ease;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
}

.score-circle span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 1;
}

.score-text {
    text-align: left;
}

.score-text h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.score-text p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.detailed-feedback {
    background: var(--light-copper);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: left;
}

.detailed-feedback h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.detailed-feedback ul {
    list-style: none;
    padding: 0;
}

.detailed-feedback li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(26, 58, 74, 0.1);
    font-size: 1.1rem;
    line-height: 1.5;
}

.detailed-feedback li:last-child {
    border-bottom: none;
}

.detailed-feedback li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Score-based styling */
.score-poor .score-circle {
    background: conic-gradient(#e74c3c 0%, #e74c3c var(--score-percentage, 0%), #e0e0e0 var(--score-percentage, 0%));
}

.score-fair .score-circle {
    background: conic-gradient(#f39c12 0%, #f39c12 var(--score-percentage, 0%), #e0e0e0 var(--score-percentage, 0%));
}

.score-good .score-circle {
    background: conic-gradient(var(--accent-color) 0%, var(--accent-color) var(--score-percentage, 0%), #e0e0e0 var(--score-percentage, 0%));
}

.score-excellent .score-circle {
    background: conic-gradient(#27ae60 0%, #27ae60 var(--score-percentage, 0%), #e0e0e0 var(--score-percentage, 0%));
}

/* Responsive Design for Quiz */
@media (max-width: 768px) {
    .score-display {
        flex-direction: column;
        gap: 2rem;
    }
    
    .score-text {
        text-align: center;
    }
    
    .quiz-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quiz-card {
        padding: 2rem;
        min-height: 350px;
    }
    
    .quiz-results {
        padding: 2rem;
    }
    
    .nav-btn, .submit-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0;
    position: relative;
}

.footer-decoration {
    width: 100px;
    height: 2px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .navigation ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .decorative-element {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .navigation ul {
        gap: 0.5rem;
    }
    
    .navigation a {
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Art Nouveau Flourishes */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    opacity: 0.3;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 2px;
    height: 50px;
    background: linear-gradient(to top, var(--accent-color), transparent);
    opacity: 0.3;
}