/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    min-height: 100vh;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #0096D6 0%, #0056a3 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: #FFD700;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 1rem;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Main content */
main {
    min-height: calc(100vh - 200px);
    padding: 0;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #0096D6 0%, #0056a3 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #0096D6;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #0096D6, #FFD700);
    border-radius: 2px;
}

.section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Blog list */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-item {
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #0096D6, #FFD700);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-item:hover::before {
    transform: scaleX(1);
}

.blog-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.blog-item h3 {
    margin-bottom: 1rem;
    color: #0096D6;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.blog-item:hover h3 {
    color: #0056a3;
}

.blog-item p {
    margin-bottom: 1.5rem;
    color: #666;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.blog-meta i {
    color: #0096D6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0096D6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 2px solid #0096D6;
}

.read-more:hover {
    background-color: #0096D6;
    color: white;
    transform: translateX(5px);
}

/* Blog details */
.blog-details {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
}

.blog-details h2 {
    margin-bottom: 1rem;
    color: #0096D6;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

.blog-details .meta {
    color: #666;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 20px;
    font-style: italic;
}

.blog-details img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #0096D6;
}

button {
    background: linear-gradient(45deg, #0096D6, #0056a3);
    color: white;
    padding: 1rem 3rem;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

button:hover {
    transform: translateY(-2px);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #0096D6 0%, #0056a3 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.newsletter h3 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    font-size: 1rem;
}

.newsletter-form button {
    background: #FFD700;
    color: #333;
    padding: 0.75rem 2rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

.newsletter-form button:hover {
    background: #FFA500;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #0096D6, #FFD700);
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

footer h4 {
    margin-bottom: 1rem;
    color: #FFD700;
    font-family: 'Playfair Display', serif;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #FFD700;
}

footer p {
    margin-top: 2rem;
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px solid #666;
    padding-top: 2rem;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0096D6 0%, #0056a3 100%);
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: block;
    }

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

    .blog-list {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

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