/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #f39c12;
    --background-color: #f9f9f9;
    --card-bg: #ffffff;
    --text-color: #333333;
    --text-light: #777777;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --pride-pink: #ff6b8b;
    --pride-purple: #a28dff;
    --pride-blue: #4ecdc4;
    --pride-green: #45b7d1;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    box-shadow: var(--box-shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--pride-pink), var(--pride-purple), var(--pride-blue), var(--pride-green));
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 1s ease-out;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(45deg, var(--pride-pink), var(--pride-purple));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Personal Card */
.personal-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    animation: fadeInRight 1s ease-out;
    backdrop-filter: blur(10px);
}

.personal-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--pride-purple);
    box-shadow: 0 0 20px rgba(162, 141, 255, 0.5);
}

.personal-card h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.personal-title {
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.personal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.tag {
    background: linear-gradient(45deg, var(--pride-pink), var(--pride-purple));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.personal-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Filter Section */
.filter-section {
    background-color: white;
    padding: 30px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 300px;
    display: flex;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.search-box button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--accent-color);
}

.category-filter select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: white;
}

.tag-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-filter span {
    font-weight: 500;
}

.tag-button {
    background-color: #f0f0f0;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.tag-button:hover, .tag-button.active {
    background-color: var(--secondary-color);
    color: white;
}

/* Main Content Section */
.main-content {
    padding: 60px 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, var(--pride-pink), var(--pride-purple));
    border-radius: 2px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.cocktail-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.cocktail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* About Section */
.about-section {
    background-color: white;
    padding: 80px 0;
    margin: 40px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* Contact Section */
.contact-section {
    background-color: var(--background-color);
    padding: 80px 0;
    margin: 40px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color);
}

.contact-details {
    margin-top: 20px;
}

.contact-details p {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 4px;
}

.social-link:hover {
    background-color: var(--pride-purple);
    color: white;
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pride-blue);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Categories Page */
.categories-hero {
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.categories-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--pride-pink), var(--pride-purple), var(--pride-blue), var(--pride-green));
    opacity: 0.1;
    z-index: 0;
}

.categories-hero h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.categories-hero p {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.categories-section {
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border-top: 4px solid var(--pride-purple);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.category-count {
    background: linear-gradient(45deg, var(--pride-pink), var(--pride-purple));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Cocktail Card Hover Effect */
.cocktail-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    border-top: 4px solid var(--pride-blue);
}

.cocktail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cocktail-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cocktail-card-content {
    padding: 20px;
}

.cocktail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cocktail-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cocktail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cocktail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.cocktail-tag {
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-links h4, .footer-legal h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links a, .footer-legal a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 8px;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary-color);
}

#modal-body {
    padding-top: 20px;
}

.cocktail-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.cocktail-detail-image {
    width: 100%;
    border-radius: var(--border-radius);
    object-fit: cover;
    height: 300px;
}

.cocktail-detail-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cocktail-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cocktail-detail-content {
    margin-bottom: 30px;
}

.cocktail-detail-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.cocktail-recipe {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.cocktail-recipe h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.ingredients-list {
    list-style: none;
    margin-bottom: 20px;
}

.ingredients-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
}

.ingredient-name {
    font-weight: 500;
}

.ingredient-amount {
    color: var(--text-light);
}

.instructions {
    margin-top: 20px;
}

.instructions h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.instructions p {
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .filter-content {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: 100%;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .cocktail-col h3 {
        text-align: center;
    }

    .cocktail-detail {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: 2;
    }

    .about-text {
        order: 1;
    }

    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }

    .cocktails-section h2 {
        font-size: 2rem;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }
}