/* Base Styles & Variables */
:root {
    --primary-color: #ff6b08;
    --primary-dark: #e65000;
    --primary-light: #ff8a3c;
    --secondary-color: #2d3e50;
    --secondary-dark: #1c2b3a;
    --accent-color: #4ecdc4;
    --dark-color: #292f36;
    --light-color: #f7f9fc;
    --light-gray: #e5e9ef;
    --medium-gray: #8d99ae;
    --text-color: #333333;
    --font-primary: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

button, .btn {
    cursor: pointer;
    font-family: var(--font-primary);
    transition: all var(--transition-speed) ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 0.5em;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

main {
    flex: 1;
}

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

section {
    padding: 60px 0;
}

/* Header & Navigation */
header {
    background-color: var(--dark-color);
    box-shadow: var(--shadow-md);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--light-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-speed) ease;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    background: linear-gradient(120deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    color: var(--light-color);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    color: var(--light-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 500px;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    object-fit: cover;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 80px 5%;
    background-color: var(--light-color);
}

.feature-card {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 107, 8, 0.1);
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Latest Posts Section */
.latest-posts {
    padding: 80px 5%;
    background-color: var(--light-gray);
    text-align: center;
}

.latest-posts h2 {
    margin-bottom: 40px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Random Fact Section */
.random-fact {
    padding: 60px 5%;
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.fact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.fact-container h2 {
    color: var(--light-color);
    margin-bottom: 20px;
}

.fact-container p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Rookie Mistakes Section */
.rookie-mistakes {
    padding: 80px 5%;
    background-color: white;
}

.rookie-mistakes h2 {
    text-align: center;
    margin-bottom: 40px;
}

.mistakes-container {
    max-width: 900px;
    margin: 0 auto;
}

.mistake {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.mistake-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 20px;
    line-height: 1;
}

.mistake-content h3 {
    margin-bottom: 10px;
}

/* Blog Page Styles */
.blog-container {
    padding: 60px 5%;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    margin-bottom: 15px;
}

.blog-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.blog-posts {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: 80px;
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.post-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.post-body {
    margin-top: 20px;
}

.post-body h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.post-body p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* About Us Page Styles */
.about-container {
    padding: 60px 5%;
}

.about-header {
    margin-bottom: 60px;
    text-align: center;
}

.about-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.our-mission {
    padding: 80px 5%;
    background-color: var(--light-gray);
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-text ul {
    text-align: left;
    margin-top: 20px;
}

.mission-text li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.team-section {
    padding: 80px 5%;
    text-align: center;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed) ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.team-member p {
    margin: 0 15px 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0 20px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--secondary-color);
    transition: all var(--transition-speed) ease;
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.values-section {
    padding: 80px 5%;
    background-color: var(--light-gray);
    text-align: center;
}

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

.value-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.value-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contact Page Styles */
.contact-container {
    padding: 60px 5%;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.info-card {
    background-color: white;
    padding: 25px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-icon {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    margin-bottom: 10px;
}

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

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-container h2 {
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 8, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 0.9rem;
}

.map-section {
    margin-bottom: 60px;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 30px;
}

.map-container {
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thank You Modal */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--medium-gray);
}

.thank-you-icon {
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-links,
.footer-legal,
.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-content h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-content ul li {
    margin-bottom: 10px;
}

.footer-content ul li a {
    color: var(--medium-gray);
    transition: color var(--transition-speed) ease;
}

.footer-content ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    transition: all var(--transition-speed) ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    margin-bottom: 10px;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 2;
    min-width: 300px;
    color: var(--light-color);
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-accept {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
}

.btn-customize {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
}

.btn-decline {
    background-color: var(--medium-gray);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
}

.cookie-more {
    color: var(--primary-color);
    text-decoration: underline;
    margin-left: 10px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero {
        flex-direction: column;
        gap: 40px;
        padding: 60px 5%;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .features {
        flex-direction: column;
    }
    
    .about-intro {
        flex-direction: column;
    }
    
    .mistake {
        flex-direction: column;
    }
    
    .mistake-number {
        margin-bottom: 10px;
    }
    
    .post-image {
        height: 250px;
    }
}

@media screen and (max-width: 576px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        justify-content: center;
        width: 100%;
        gap: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}
