/* 
* PetVerse Landing Page Styles
* A modern, responsive design with pet-themed elements
*/

/* ===== Base Styles ===== */
:root {
    /* Color Palette */
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --secondary: #FF9800;
    --accent: #8BC34A;
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --white: #FFFFFF;
    --light-bg: #F9F9F9;
    --border-color: #E5E5E5;
    --success: #4CAF50;
    --error: #F44336;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-round: 50%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style-type: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

section {
    padding: 80px 0;
}

.section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background-color: #F57C00;
}

/* ===== Navigation ===== */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-register {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
}

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

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

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #F9FFF9 0%, #E8F5E9 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent);
    opacity: 0.1;
    border-radius: var(--radius-round);
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

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

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

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

.promotion-text {
    background-color: rgba(255, 152, 0, 0.15);
    border-left: 4px solid var(--secondary);
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1.1rem !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: 40px;
}

/* ===== Services Section ===== */
.services {
    text-align: center;
    background-color: var(--white);
}

.services h2 {
    color: var(--primary-dark);
}

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

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

/* ===== Coming Soon Section ===== */
.coming-soon {
    background-color: var(--light-bg);
    text-align: center;
}

.coming-soon h2 {
    color: var(--text-dark);
}

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

.coming-soon-card {
    background-color: var(--white);
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.coming-soon-label {
    position: absolute;
    top: 20px;
    right: 0;
    background-color: var(--secondary);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    border-top-left-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
}

/* ===== About Section ===== */
.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.features {
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--success);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ===== Registration Section ===== */
.register {
    background: linear-gradient(135deg, #E8F5E9 0%, #F9FFF9 100%);
    text-align: center;
}

.register h2 {
    color: var(--primary-dark);
}

.register-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.checkbox-label input {
    margin-right: 8px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
    background-color: #263238;
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-logo {
    max-width: 300px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-column ul li a {
    color: #B0BEC5;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-column ul li i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0px 3px 10px rgba(0,0,0,0.25);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0px 5px 15px rgba(0,0,0,0.35);
}

.social-icon i {
    margin-right: 8px;
}

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

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-lighter);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 40px;
    text-align: center;
}

.modal-icon {
    font-size: 3.5rem;
    color: var(--success);
    margin-bottom: 20px;
}

.modal-body h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-body p {
    margin-bottom: 25px;
}

/* ===== Placeholder Images ===== */
#logo-placeholder {
    background-color: #E8F5E9;
    border: 1px dashed var(--primary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

#footer-logo-placeholder,
.large-footer-logo {
    background-color: #E8F5E9;
    border: 1px dashed var(--primary);
    width: 180px;
    height: auto;
    border-radius: var(--radius-sm);
    display: inline-block;
    transition: transform 0.3s ease;
}

#hero-placeholder {
    background-color: #E8F5E9;
    border: 1px dashed var(--primary);
    border-radius: var(--radius-md);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

#about-placeholder {
    background-color: #E8F5E9;
    border: 1px dashed var(--primary);
    border-radius: var(--radius-md);
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* ===== Language Selector Styles ===== */
.language-selector {
    position: relative;
    margin-left: 15px;
}

/* ===== RTL Support ===== */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .navbar-nav,
.rtl .footer-links {
    flex-direction: row-reverse;
}

.rtl .language-selector {
    margin-left: 0;
    margin-right: 15px;
}

.rtl .dropdown-menu {
    left: auto;
    right: 0;
    text-align: right;
}

.rtl .service-card,
.rtl .coming-soon-card,
.rtl .feature {
    text-align: right;
}

.rtl .checkbox-container {
    padding-left: 0;
    padding-right: 35px;
}

.rtl .checkbox-container .checkmark {
    left: auto;
    right: 0;
}

.rtl .social-icons {
    flex-direction: row-reverse;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background-color: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 120px;
    z-index: 1000;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-menu a.active {
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.05);
}

/* RTL Support for Arabic */
[lang="ar"] {
    direction: rtl;
    text-align: right;
}

[lang="ar"] .dropdown-menu {
    left: 0;
    right: auto;
}

/* ===== Media Queries ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero .container,
    .about .container {
        flex-direction: column;
    }
    
    .hero-content,
    .about-content {
        max-width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image,
    .about-image {
        max-width: 100%;
        margin-left: 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
        text-align: center;
        max-width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .services-grid,
    .coming-soon-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .about .container {
        gap: 30px;
    }
    
    .register-content {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
}
