/* Base Styles */
:root {
    --primary-color: #1a1a1a;  /* Changed from blue to dark grey */
    --secondary-color: #6a00ff;  /* Changed from red to purple */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --border-color: #dee2e6;
    --font-family: 'Arial', sans-serif;
    /* Brand colors */
    --purple: #6a00ff;
    --dark-grey: #1a1a1a;
    --cyan: #00e5ff;
    --white: #ffffff;
}

/* CRITICAL: Reset all margins and padding to ensure header is at top */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    /* Ensure no space above header */
}

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

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

ul {
    list-style: none;
}

/* Allow bullet points for content lists */
.page-content ul, 
.call-section ul, 
.submission-guidelines ul,
.reviewing-process ul,
.publication-policies ul,
.scope ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 20px;
}

.page-content ul li,
.call-section ul li,
.submission-guidelines ul li,
.reviewing-process ul li,
.publication-policies ul li,
.scope ul li {
    margin-bottom: 8px;
}

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

/* Header styles are now handled by header-layout.css */
/* Carousel container fills hero */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* Individual slides */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Show the active slide */
.hero-slide.active {
  opacity: 1;
}

/* Keep hero content on top */
.hero-content {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
    background-image: url('../images/Large-DubaiSkyline_BurjKhalifa_DET.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    /* Instead of fixed padding + min-height */
    min-height:  calc((100vh - var(--header-height)) / 1.5);
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--purple); /* purple with 40% opacity */
    opacity: 0.30;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    letter-spacing: 2px;
    text-align: center;
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    font-weight: 300;
    text-align: center;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #00E5FF;
    font-weight: 300;
    text-align: center;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

.secondary-btn {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Section Styles */
section {
    padding: 60px 0;
}

section h2 {
    text-align: left;  /* Ensure left alignment */
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 1.5rem;  /* Match .page-content h2 size - 1.5rem (24px) */
}


.welcome p {
    text-align: justify;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Important Dates */
.dates-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.date-category {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.date-category h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--purple);
    padding-bottom: 5px;
}

.date-category ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.date-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Venue Section */
.venue {
    background-color: var(--light-bg);
}

.venue-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.venue-text {
    flex: 1;
    min-width: 300px;
}

.venue-text p {
    margin-bottom: 15px;
}

.venue-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--cyan);
    padding-bottom: 10px;
    display: inline-block;
}

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

.footer-column a {
    color: white;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--purple);
}

.social-media {
    margin-top: 20px;
    text-align: left;
}

.social-media a {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.8rem;
    color: var(--cyan);
    transition: color 0.3s, transform 0.3s;
}

.social-media a:hover {
    color: var(--purple);
    transform: scale(1.1);
}

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

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

.footer-bottom a {
    color: #87CEEB;
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: white;
}




/* Venue Scrapbook Section */
.venue-scrapbook {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.venue-scrapbook-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}

.venue-text {
    flex: 1;
    min-width: 300px;
}

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

.venue-text p {
    font-size: 1rem;
    margin-bottom: 15px;
    flex: 0 0 33.333%; /* 1/3 of row */
    min-width: 250px;  
    line-height: 1.6;
}

/* Polaroid Image Styles */
.venue-images {
    /* flex: 1; */
    display: flex;
    flex: 0 0 66.666%;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    perspective: 1000px; /* for slight 3D effect */
}

.polaroid {
 
    padding: 10px 10px 25px;
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transform: rotate(var(--rotate));
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    cursor: pointer;
}

.polaroid img {
    width: 100%;
       width: 300px; height: 250px;  
    display: block; object-fit: cover;
    border-radius: 3px;
}

/* Animation when scrolled into view */
.polaroid.visible {
    opacity: 1;
    transform: rotate(var(--rotate)) translateY(0);
}

/* Polaroid hover effect */
.polaroid:hover {
    transform: rotate(var(--rotate)) scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .venue-scrapbook-content {
        flex-direction: column;
        align-items: center;
    }

    .venue-images {
        justify-content: center;
    }
}



/* Responsive Styles */
@media (max-width: 768px) {
    /* Header styles are now handled by header-layout.css */
    
    .hero-text h1 {
        font-size: 2rem;
        text-align: left;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
        text-align: left;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .venue-content {
        flex-direction: column;
    }
    
    .footer-container {
        flex-direction: column;
    }
}

/* Page-specific styles */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-content {
    padding: 40px 0;
}

.page-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;  /* Adjusted to 2rem (32px) - 2x normal text */
    text-align: left;
}

.page-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;  /* Adjusted to 1.5rem (24px) - 1.5x normal text */
    text-align: left;
}

.page-content p {
    margin-bottom: 20px;
}

/* About page */
.about-section {
    margin-bottom: 40px;
}

/* Calls page */
.call-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.call-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Organization page */
.committee {
    margin-bottom: 40px;
}

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

.committee-member {
    padding: 15px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.committee-member h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.committee-member p {
    font-style: italic;
}

/* Attending page */
.attending-info {
    margin-bottom: 40px;
}

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

/* Admin interface styles */
.admin-login {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.admin-login h2 {
    text-align: center;
    margin-bottom: 20px;
}

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

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

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.admin-dashboard {
    padding: 20px;
}

.admin-sidebar {
    width: 250px;
    background-color: var(--dark-bg);
    color: white;
    padding: 20px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
}

.admin-sidebar h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar ul li {
    margin-bottom: 10px;
}

.admin-sidebar a {
    color: white;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

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

.admin-content {
    margin-left: 250px;
    padding: 20px;
}

.admin-content h2 {
    margin-bottom: 20px;
}

.admin-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.admin-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.gap-20 {
    gap: 20px;
}
